From 22d494378ee126e02ce213990d18f0fe7670f04c Mon Sep 17 00:00:00 2001 From: Jerry Date: Thu, 1 Aug 2024 11:16:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2dc54648..819e9244 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,8 +23,9 @@ ARG VERSION RUN apk update --no-cache && apk add --no-cache ca-certificates COPY --from=backend /usr/share/zoneinfo/Asia/Shanghai /usr/share/zoneinfo/Asia/Shanghai ENV TZ Asia/Shanghai -WORKDIR /app +WORKDIR /app/data ENV VERSION $VERSION COPY --from=backend /app/moments /app/moments EXPOSE 37892 +RUN chmod +x /app/moments CMD ["/app/moments"] \ No newline at end of file