collectstatic cmd added to Dockerfile build, despite no static files yet being part of project; static dir added to .gitignore; if/else clause added to core.settings to handle debug, secret key & allowed host values when debug is true & otherwise

This commit is contained in:
Disco DeDisco
2026-01-05 00:32:41 -05:00
parent 1cc3141186
commit 18d28600c9
3 changed files with 15 additions and 5 deletions

View File

@@ -10,4 +10,8 @@ COPY src /src
WORKDIR /src
RUN python manage.py collectstatic
ENV DJANGO_DEBUG_FALSE=1
CMD ["gunicorn", "--bind", ":8888", "core.wsgi:application"]