添加docker文件

This commit is contained in:
Administrator 2023-07-14 14:21:28 +08:00
parent 848f4bee03
commit 52ef55de45
2 changed files with 4 additions and 2 deletions

View File

@ -15,8 +15,8 @@ deploy_job:
stage: deploy
script:
- docker-compose up -d --force-recreate
when:
manual
# when:
# manual

View File

@ -12,6 +12,8 @@ services:
- app
command:
bash -c "cd /home/daily && python3 main.py"
environment:
- TZ=Asia/Shanghai
networks:
app:
external: true