Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 289bbe3f0d | |||
| bec6a93b65 |
+3
-1
@@ -9,7 +9,9 @@ RUN apk add --no-cache upx
|
||||
|
||||
RUN upx --best --lzma bin/server
|
||||
|
||||
FROM alpine:latest
|
||||
# 使用带有 glibc 的 Alpine 变体
|
||||
FROM frolvlad/alpine-glibc:alpine-3.19
|
||||
RUN apk add --no-cache libstdc++
|
||||
COPY --from=backend-builder /build/bin/server /app/server
|
||||
COPY static /app/static
|
||||
COPY static/*.so /app/
|
||||
|
||||
Reference in New Issue
Block a user