From 49f8ea9358f664b5a74036963fb19ea2a46e8631 Mon Sep 17 00:00:00 2001 From: toom1996 <23cm.cn@gmail.com> Date: Wed, 21 Oct 2026 00:05:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A2=84=E6=9E=84=E5=BB=BA=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E8=A1=A5=E6=89=A7=E8=A1=8C=E4=BD=8D=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20/app/server=20permission=20denied?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile.prebuilt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile.prebuilt b/Dockerfile.prebuilt index e0683f4..5431388 100644 --- a/Dockerfile.prebuilt +++ b/Dockerfile.prebuilt @@ -8,6 +8,9 @@ RUN apk add --no-cache ca-certificates tzdata WORKDIR /app COPY server-linux-amd64 /app/server +# 从 Windows 传上来的文件没有执行位(644),必须显式补上,否则容器启动报 +# exec: "/app/server": permission denied +RUN chmod +x /app/server COPY configs ./configs RUN mkdir -p /app/uploads