🐳
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
谢作欢 2023-11-03 10:43:04 +08:00
parent 677f064c30
commit 55632156bd

View File

@ -1,6 +1,6 @@
FROM golang as build FROM golang as build
WORKDIR /app WORKDIR /build
COPY . . COPY . .
@ -13,8 +13,6 @@ RUN go build -o app
FROM alpine FROM alpine
WORKDIR /app COPY --from=build /build/app /bin
COPY --from=build /app/app . ENTRYPOINT ["/bin/app"]
ENTRYPOINT ["/app/app"]