🎨 修改dockerfile
This commit is contained in:
parent
b132fa9295
commit
8a10688247
@ -10,7 +10,7 @@ RUN go env -w GO111MODULE=on \
|
||||
&& go mod tidy \
|
||||
&& go build -o server .
|
||||
|
||||
FROM code.hyxc1.com/open/alpine:3.16.0 as runner
|
||||
FROM alpine:latest
|
||||
WORKDIR /go/src/miniapp
|
||||
|
||||
COPY --from=0 /go/src/miniapp/server ./
|
||||
|
Loading…
Reference in New Issue
Block a user