fix: added .env file to docker build

This commit is contained in:
Robin Dittmar
2026-07-20 22:50:41 +02:00
parent addbbb9cbe
commit 866f416243
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1 +1,2 @@
DTTMR_DATABASE_URL=postgres://postgres:postgres@172.17.0.1:5432/postgres?sslmode=disable&timezone=utc
DTTMR_OTLP_ENDPOINT=172.17.0.1:4317
DTTMR_DATABASE_URL=postgres://postgres:postgres@172.17.0.1:5432/postgres?sslmode=disable&timezone=utc
+2 -1
View File
@@ -5,7 +5,8 @@ COPY go.mod go.sum ./
RUN go mod download
COPY . .
COPY "./internal" "./internal"
COPY "./cmd" "./cmd"
RUN go build -o ./server github.com/robindittmar/dttmr-api/cmd/api-server