🎨 修改dockerfile

This commit is contained in:
loser 2024-03-31 04:18:37 +08:00
parent b132fa9295
commit 8a10688247

View File

@ -10,7 +10,7 @@ RUN go env -w GO111MODULE=on \
&& go mod tidy \ && go mod tidy \
&& go build -o server . && go build -o server .
FROM code.hyxc1.com/open/alpine:3.16.0 as runner FROM alpine:latest
WORKDIR /go/src/miniapp WORKDIR /go/src/miniapp
COPY --from=0 /go/src/miniapp/server ./ COPY --from=0 /go/src/miniapp/server ./