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:
@@ -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"]
|
||||
Reference in New Issue
Block a user