添加docker文件
This commit is contained in:
parent
86a16027e1
commit
cc9ea6167c
|
@ -1,16 +1,17 @@
|
|||
version: '3.8'
|
||||
services:
|
||||
build:
|
||||
context: ./Dockerfile
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ../daily:/home/daily
|
||||
ports:
|
||||
- "8001:8082"
|
||||
networks:
|
||||
- app
|
||||
command:
|
||||
cd /home/daily && python3 main.py'
|
||||
daily:
|
||||
build:
|
||||
context: ./Dockerfile
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ../daily:/home/daily
|
||||
ports:
|
||||
- "8001:8082"
|
||||
networks:
|
||||
- app
|
||||
command:
|
||||
cd /home/daily && python3 main.py'
|
||||
networks:
|
||||
app:
|
||||
driver: bridge
|
Loading…
Reference in New Issue