Skip to content
Snippets Groups Projects
Commit f6ea0ee7 authored by Ondrej Rehounek's avatar Ondrej Rehounek Committed by jan.bednarik
Browse files

Fix pipeline with fake envs

parent 762ef4b1
No related branches found
No related tags found
2 merge requests!442Release,!432Feature/majak imports
......@@ -29,6 +29,7 @@ ENV DJANGO_SETTINGS_MODULE "majak.settings.production"
# fake values for required env variables used to run collectstatic during build
RUN DJANGO_SECRET_KEY=x DATABASE_URL=postgres://x/x DJANGO_ALLOWED_HOSTS=x \
OIDC_RP_CLIENT_ID=x OIDC_RP_CLIENT_SECRET=x OIDC_RP_REALM_URL=x \
CELERY_BROKER_URL=x CELERY_RESULT_BACKEND=x \
python manage.py collectstatic
EXPOSE 8000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment