collectstatic to dockerfile
All checks were successful
Build and Push Docker Image / build (push) Successful in 17s

This commit is contained in:
Corban-Lee Jones 2024-08-11 22:52:50 +01:00
parent c5f929782f
commit a276aa3ccb

View File

@ -16,5 +16,8 @@ COPY . /app/
# running migrations
RUN python manage.py migrate
# collect static
RUN python manage.py collectstatic
# gunicorn
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "core.wsgi:application"]