From e2eb27a5ba74b7e14adcc803bf6056d47af771a8 Mon Sep 17 00:00:00 2001 From: sugarBecomer Date: Thu, 6 Nov 2025 19:52:46 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E6=94=B9=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=80=BB=E8=BE=91=EF=BC=8C=E5=AE=89=E8=A3=85gcc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 23aff81..4425be2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,9 @@ COPY --from=backend-builder /build/bin/server /app/server COPY static /app/static COPY static/*.so /app/ WORKDIR /app +# 确保文件有执行权限 +RUN chmod +x /app/server +ENV LD_LIBRARY_PATH=/app EXPOSE 8080 RUN ls -a CMD ["./server"] \ No newline at end of file