We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e0b0d2 commit 27de12dCopy full SHA for 27de12d
docker-compose.yml
@@ -3,7 +3,10 @@ version: '3.8'
3
services:
4
app-server-django:
5
build: ./
6
- command: python manage.py runserver 0.0.0.0:8000
+ command: >
7
+ sh -c "python manage.py flush --no-input &&
8
+ python manage.py migrate &&
9
+ python manage.py runserver 0.0.0.0:8000"
10
volumes:
11
- ./:/usr/src/app/
12
ports:
0 commit comments