This commit is contained in:
parent
677f064c30
commit
55632156bd
@ -1,6 +1,6 @@
|
||||
FROM golang as build
|
||||
|
||||
WORKDIR /app
|
||||
WORKDIR /build
|
||||
|
||||
COPY . .
|
||||
|
||||
@ -13,8 +13,6 @@ RUN go build -o app
|
||||
|
||||
FROM alpine
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=build /build/app /bin
|
||||
|
||||
COPY --from=build /app/app .
|
||||
|
||||
ENTRYPOINT ["/app/app"]
|
||||
ENTRYPOINT ["/bin/app"]
|
Loading…
Reference in New Issue
Block a user