diff --git a/.drone.yml b/.drone.yml index 9d709d3..6d6e4a7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,7 +18,7 @@ steps: hosts: # 多个ip使用,隔开 from_secret: ssh_host # 来源目录 - source: deplpy/ + source: /deplpy/ # 目标服务器目录 target: /mnt/data/wwwroot/api2gpt/mid script: diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 9231f15..c93e1da 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -7,7 +7,7 @@ RUN apk update && apk add --no-cache bash supervisor RUN adduser -S -D -H -h /app -s /sbin/nologin -u 1000 app RUN chown -R app /app -ADD api2gpt-mid /app/server +ADD api2gpt-mid /app/server/ ADD work.ini /etc/supervisor.d/ CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"] \ No newline at end of file