develop #2

Merged
Bryant merged 15 commits from develop into main 2023-07-09 05:54:34 +08:00
3 changed files with 5 additions and 3 deletions
Showing only changes of commit 86eaff16b0 - Show all commits

View File

@ -31,8 +31,8 @@ steps:
script: script:
- cd /var/www/todo - cd /var/www/todo
- git fetch - git fetch
- git reset --hard ${DRONE_COMMIT}
- git checkout ${DRONE_BRANCH} - git checkout ${DRONE_BRANCH}
- git reset --hard ${DRONE_COMMIT}
- docker-compose down - docker-compose down
- docker-compose up -d --build - docker-compose up -d --build
- docker image prune -f - docker image prune -f

View File

@ -1,5 +1,5 @@
FROM python:3.11 FROM python:3.11
WORKDIR /app #WORKDIR /app
CMD ["python3", "test.py"] # CMD ["python3", "test.py"]

View File

@ -12,4 +12,6 @@ services:
environment: environment:
TZ: "Asia/Shanghai" TZ: "Asia/Shanghai"
tty: true tty: true
working_dir: /app
command: ["python3", "test.py"]