diff --git a/Dockerfile b/Dockerfile index 16e4afb..6e3bbf5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,8 @@ WORKDIR /go/src/app/cmd ADD . /go/src/app -RUN go get -d -v +#RUN go get -d -v -Run go build -o bins/genityapp +#Run go build -o bins/genityapp -CMD ["bins/./genityapp"] \ No newline at end of file +CMD ["/go/src/app/bins/./genityapp"] \ No newline at end of file diff --git a/Makefile b/Makefile index 85e8e06..2bcdde3 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,6 @@ run: build docker-compose up build-binary: - GOOS=linux GOARCH=amd64 go build -o bins/genityapp -v cmd/genityapp/* + GOOS=linux GOARCH=amd64 go build -o bins/genityapp -v cmd/* -.PHONY: build-binary run build +.PHONY: build-binary run build