ci:调整 Drone配置并更新 Dockerfile

- 移除了 .drone.yml 中的冗余端口配置
- 在 Dockerfile 中添加了 chmod命令,给于 docker-entrypoint.sh 运行权限
This commit is contained in:
danial
2024-12-19 21:42:42 +08:00
parent 3a39dc47eb
commit e6ac369f49
2 changed files with 3 additions and 1 deletions

View File

@@ -6,7 +6,6 @@ name: master-machine
server:
host: 38.38.251.113:31245
user: root
port: 31245
password:
from_secret: www_password

View File

@@ -15,4 +15,7 @@ RUN pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/we
pip install -r requirements.txt --no-cache-dir && \
pip cache purge
#给于运行权限
RUN chmod +x ./deploy/docker-entrypoint.sh
CMD ["./deploy/docker-entrypoint.sh"]