From 6f0e9e2462502f1fcd312dd637e6da147f2b50f0 Mon Sep 17 00:00:00 2001 From: Shah Ismail Date: Tue, 15 Sep 2020 15:39:23 +0300 Subject: [PATCH] WIP5 --- build/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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