remove platform dependency

This commit is contained in:
Dejan R. 2025-12-05 10:11:29 +00:00
parent c3d882f4fd
commit 742ca53c1d

View file

@ -8,8 +8,10 @@ RUN go mod download
COPY . . COPY . .
# Build with CGO enabled for sqlite # Build native for the host architecture (ARM64 on Hetzner)
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -o fitness-app ./main.go RUN CGO_ENABLED=1 go build -o fitness-app ./main.go
# Runtime stage # Runtime stage
FROM debian:bookworm-slim FROM debian:bookworm-slim