Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FIX (docker): Build backend cmd package instead of single main.go file (issue #648)

Rostislav Dugin4718db67df4e
diff --git a/Dockerfile b/Dockerfile
index 501e0b78..3a62d496 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -63,7 +63,7 @@ ARG TARGETVARIANT
RUN CGO_ENABLED=0 \
GOOS=$TARGETOS \
GOARCH=$TARGETARCH \
- go build -o /app/main ./cmd/main.go
+ go build -o /app/main ./cmd
# ========= BUILD VERIFICATION AGENT =========