Open yblis opened 4 years ago
Please check if the directory is correct.
The file tree looks like below:
# ls -lhR
.:
total 24K
-rw-r--r-- 1 root root 240 Jul 19 03:02 Dockerfile
drwxr-xr-x 7 root root 4.0K Jul 19 03:18 code
-rw-r--r-- 1 root root 235 Jul 19 03:30 docker-compose.yaml
./code:
total 36K
-rwxr-xr-x 1 root root 1.1K Jul 19 03:02 main.wsgi
Please note the configuration of Dockerfile
and docker-compose.yaml
Dockerfile
WORKDIR /mildred/code
docker-compose.yaml
volumes:
- ./:/mildred
command: python main.wsgi 8017
Hi!
container doesn't start, Log:
python: can't open file 'main.wsgi': [Errno 2] No such file or directory