Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 921e57a

Browse files
committed
fixed docker-compose asgiserver service command
1 parent 4d86261 commit 921e57a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docker-compose.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,17 @@ services:
121121
build:
122122
context: ./backend
123123
dockerfile: scripts/dev/Dockerfile
124-
command: bash -c 'python3 manage.py watch_daphne'
124+
command:
125+
- "watchmedo"
126+
- "auto-restart"
127+
- "--directory=./"
128+
- "--pattern=*.py"
129+
- "--recursive"
130+
- "--"
131+
- "python3"
132+
- "manage.py"
133+
- "runserver"
134+
- "0.0.0.0:9000"
125135
volumes:
126136
- ./backend:/code
127137
ports: []

0 commit comments

Comments
 (0)