diff --git a/build/Dockerfile b/build/Dockerfile index 4f52e3d..16d4795 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,9 +1,7 @@ FROM golang:alpine as builder -RUN mkdir -p /go/src/app -WORKDIR /go/src/app +ADD bins/genityapp /etc/local/genityapp -ADD . /go/src/app +WORKDIR /etc/local/ - -CMD ["./bins/genityapp"] \ No newline at end of file +ENTRYPOINT ["./genityapp"] \ No newline at end of file