docker file path in docker compose and cleaning of extra docker file found in project
This commit is contained in:
parent
e5b366462c
commit
eabffa3cef
12
Dockerfile
12
Dockerfile
|
@ -1,12 +0,0 @@
|
||||||
FROM golang:alpine as builder
|
|
||||||
|
|
||||||
RUN mkdir -p /go/src/app
|
|
||||||
WORKDIR /go/src/app
|
|
||||||
|
|
||||||
ADD . /go/src/app
|
|
||||||
|
|
||||||
#RUN go get -d -v
|
|
||||||
|
|
||||||
#Run go build -o bins/genityapp
|
|
||||||
|
|
||||||
CMD ["./bins/genityapp"]
|
|
|
@ -5,4 +5,5 @@ WORKDIR /go/src/app
|
||||||
|
|
||||||
ADD . /go/src/app
|
ADD . /go/src/app
|
||||||
|
|
||||||
RUN go get -d -v
|
|
||||||
|
CMD ["./bins/genityapp"]
|
|
@ -13,7 +13,9 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- genity_network
|
- genity_network
|
||||||
web:
|
web:
|
||||||
build: ""
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: build/Dockerfile
|
||||||
env_file: ./configs/web.env
|
env_file: ./configs/web.env
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
|
|
Loading…
Reference in a new issue