Skip to content
Snippets Groups Projects
Commit 7a8ddc2d authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

placeholder values for collectstatic

parent 6b0de39b
No related branches found
No related tags found
No related merge requests found
Pipeline #10932 passed
......@@ -11,7 +11,12 @@ COPY . .
RUN pip install -r requirements/base.txt -r requirements/prod.txt
RUN npm install
RUN npm run build
RUN python manage.py collectstatic --noinput --settings=rybicka.settings.prod
# Placeholder values so the static files collect
RUN DATABASE_URL=postgres://x/x \
SECRET_KEY=x \
ALLOWED_HOSTS=x \
python manage.py collectstatic --noinput --settings=rybicka.settings.prod
RUN bash -c "adduser --disabled-login --quiet --gecos app app && \
chmod -R o+r /app/ && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment