Skip to content

Commit

Permalink
Fix collectstatic build
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoacierno committed Dec 26, 2023
1 parent 9604478 commit 746cb62
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,14 @@ COPY . ${FUNCTION_DIR}

ENV DJANGO_SETTINGS_MODULE=pycon.settings.prod

RUN DJANGO_SETTINGS_MODULE=pycon.settings.test \
AWS_MEDIA_BUCKET=example \
RUN AWS_MEDIA_BUCKET=example \
AWS_REGION_NAME=eu-central-1 \
SECRET_KEY=DEMO \
STRIPE_SECRET_API_KEY=demo \
STRIPE_SUBSCRIPTION_PRICE_ID=demo \
STRIPE_WEBHOOK_SIGNATURE_SECRET=demo \
CELERY_BROKER_URL=demo \
CELERY_RESULT_BACKEND=demo \
${FUNCTION_DIR}/.venv/bin/python manage.py collectstatic --noinput

ENTRYPOINT ["/home/app/.venv/bin/python", "-m", "awslambdaric"]
Expand Down

1 comment on commit 746cb62

@vercel
Copy link

@vercel vercel bot commented on 746cb62 Dec 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.