Add build to azure deploy
This commit is contained in:
parent
d29e9c8c8f
commit
32457bcb61
|
|
@ -287,6 +287,7 @@ git-crypt-encrypted-files-check.txt
|
||||||
|
|
||||||
/server/vbv_lernwelt/static/css/tailwind.css
|
/server/vbv_lernwelt/static/css/tailwind.css
|
||||||
/server/vbv_lernwelt/static/vue/
|
/server/vbv_lernwelt/static/vue/
|
||||||
|
/server/vbv_lernwelt/static/storybook
|
||||||
/server/vbv_lernwelt/templates/vue/index.html
|
/server/vbv_lernwelt/templates/vue/index.html
|
||||||
/server/vbv_lernwelt/media
|
/server/vbv_lernwelt/media
|
||||||
/client/src/gql/minifiedSchema.json
|
/client/src/gql/minifiedSchema.json
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
|
npm run build
|
||||||
|
|
||||||
python server/manage.py collectstatic --noinput
|
python server/manage.py collectstatic --noinput
|
||||||
docker build --platform linux/amd64 -f compose/django/Dockerfile -t iterativ/vbv-lernwelt-django:azure .
|
docker build --platform linux/amd64 -f compose/django/Dockerfile -t iterativ/vbv-lernwelt-django:azure .
|
||||||
docker image push iterativ/vbv-lernwelt-django:azure
|
docker image push iterativ/vbv-lernwelt-django:azure
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue