From 751f9d7eed78498daa1d41b791c786da8bca3880 Mon Sep 17 00:00:00 2001 From: wonder Date: Fri, 26 Jun 2026 15:30:54 +0800 Subject: [PATCH] fix: use Aliyun Alpine mirror and fix frontend COPY source --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8057b1c..1f8a8ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,11 +9,12 @@ COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -o server . FROM alpine:latest -RUN apk --no-cache add ca-certificates +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \ + apk --no-cache add ca-certificates WORKDIR /app COPY --from=builder /app/server . -COPY --from=builder /app/frontend ./frontend +COPY frontend ./frontend EXPOSE 8080 CMD ["./server"]