collectstatic to dockerfile
All checks were successful
Build and Push Docker Image / build (push) Successful in 17s
All checks were successful
Build and Push Docker Image / build (push) Successful in 17s
This commit is contained in:
parent
c5f929782f
commit
a276aa3ccb
@ -16,5 +16,8 @@ COPY . /app/
|
|||||||
# running migrations
|
# running migrations
|
||||||
RUN python manage.py migrate
|
RUN python manage.py migrate
|
||||||
|
|
||||||
|
# collect static
|
||||||
|
RUN python manage.py collectstatic
|
||||||
|
|
||||||
# gunicorn
|
# gunicorn
|
||||||
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "core.wsgi:application"]
|
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "core.wsgi:application"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user