diff --git a/Dockerfile b/Dockerfile index ef8f544..ddd1323 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +ENTRYPOINT ["/bin/app"] \ No newline at end of file