🐛 修改编译逻辑,安装gcc

This commit is contained in:
sugarBecomer
2025-11-06 19:52:46 +08:00
parent 9fbeddc9f4
commit e2eb27a5ba
+3
View File
@@ -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"]