From 6f5618c6b70a2b38fd153968655725d1c2c6fef2 Mon Sep 17 00:00:00 2001 From: franktrue Date: Wed, 10 May 2023 10:43:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=83=A8=E7=BD=B2=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/deploy/Dockerfile b/deploy/Dockerfile index c93e1da..9582447 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -1,13 +1,8 @@ FROM alpine:latest WORKDIR /app -# 更新安装源 -RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories -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 work.ini /etc/supervisor.d/ -CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"] \ No newline at end of file +CMD ["/app/server/api2gpt-mid"] \ No newline at end of file