This commit is contained in:
parent
677f064c30
commit
55632156bd
@ -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"]
|
|
Loading…
Reference in New Issue
Block a user