Added .env file to docker build #6

Merged
robin merged 3 commits from dev into main 2026-07-20 22:51:57 +02:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 866f416243 - Show all commits
+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