collectstatic is essential in command section
This commit is contained in:
parent
692d60a261
commit
56d3797c35
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ services:
|
|||
build:
|
||||
context: ./app
|
||||
dockerfile: Dockerfile.prod
|
||||
command: bash -c 'while !</dev/tcp/db/5432; do sleep 1; done; gunicorn --bind 0.0.0.0:8000 core.wsgi'
|
||||
command: bash -c 'while !</dev/tcp/db/5432; do sleep 1; done; python manage.py collectstatic; gunicorn --bind 0.0.0.0:8000 core.wsgi'
|
||||
expose:
|
||||
- 8000
|
||||
environment:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue