docker file path in docker compose and cleaning of extra docker file found in project

This commit is contained in:
Shaz hemani 2020-09-15 16:31:48 +05:00
parent e5b366462c
commit eabffa3cef
No known key found for this signature in database
GPG key ID: 976B8B017678D5AC
3 changed files with 5 additions and 14 deletions

View file

@ -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"]

View file

@ -5,4 +5,5 @@ WORKDIR /go/src/app
ADD . /go/src/app ADD . /go/src/app
RUN go get -d -v
CMD ["./bins/genityapp"]

View file

@ -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"