diff --git a/dockerfiles/go/Dockerfile b/dockerfiles/go/Dockerfile index ed7c328..f34c64f 100644 --- a/dockerfiles/go/Dockerfile +++ b/dockerfiles/go/Dockerfile @@ -1,10 +1,6 @@ -FROM golang:1.14.4 AS build -WORKDIR /source +FROM golang:1.14.4 +WORKDIR /solution COPY . . -RUN cd app && go build -o app . - -FROM debian:buster-20200607-slim -WORKDIR /build -COPY --from=build /source/app/app . -ENTRYPOINT ["./app"] +RUN ./build.sh +ENTRYPOINT ["./run.sh"]