fix: added .env file to docker build
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
|
DTTMR_OTLP_ENDPOINT=172.17.0.1:4317
|
||||||
DTTMR_DATABASE_URL=postgres://postgres:postgres@172.17.0.1:5432/postgres?sslmode=disable&timezone=utc
|
DTTMR_DATABASE_URL=postgres://postgres:postgres@172.17.0.1:5432/postgres?sslmode=disable&timezone=utc
|
||||||
+2
-1
@@ -5,7 +5,8 @@ COPY go.mod go.sum ./
|
|||||||
|
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
|
|
||||||
COPY . .
|
COPY "./internal" "./internal"
|
||||||
|
COPY "./cmd" "./cmd"
|
||||||
|
|
||||||
RUN go build -o ./server github.com/robindittmar/dttmr-api/cmd/api-server
|
RUN go build -o ./server github.com/robindittmar/dttmr-api/cmd/api-server
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user