diff --git a/docker/Dockerfile b/docker/Dockerfile index f33c9af1..688276bf 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -27,4 +27,8 @@ RUN set -ex \ COPY . /app/symposion_app WORKDIR /app/symposion_app +RUN set -x \ + && DJANGO_SECRET_KEY=1234 STRIPE_PUBLIC_KEY=1234 STRIPE_SECRET_KEY=1234 \ + DATABASE_URL="sqlite:////dev/null" \ + python manage.py collectstatic --noinput -l -v 0 CMD ["/usr/local/bin/uwsgi", "--http-socket", "0.0.0.0:8000", "--wsgi-file", "pinaxcon/wsgi.py"] diff --git a/pinaxcon/settings.py b/pinaxcon/settings.py index 1b6f2012..58b8c3b6 100644 --- a/pinaxcon/settings.py +++ b/pinaxcon/settings.py @@ -102,7 +102,7 @@ USE_TZ = True MEDIA_ROOT = os.path.join(PACKAGE_ROOT, "site_media", "media") MEDIA_URL = "/site_media/media/" -STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static/src') +STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static/build') STATIC_URL = '/static/src/' STATICFILES_DIRS = [