Skip to content

Commit

Permalink
Update docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
DEENUU1 committed Dec 23, 2023
1 parent dc4d11c commit 9a273e9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ services:
context: .
dockerfile: ./Dockerfile
container_name: fjob-web-dev
command: gunicorn fjob.wsgi:application -w 4 -b 0.0.0.0:8000
command: >
bash -c "
$RUN_MANAGE_PY collectstatic --no-input &&
$RUN_MANAGE_PY migrate --no-input &&
gunicorn fjob.wsgi:application -w 4 -b 0.0.0.0:8000"
volumes:
- .:/app
- .:/appi mea
ports:
- "8000:8000"
depends_on:
Expand Down

0 comments on commit 9a273e9

Please sign in to comment.