ultimate-media-tracker/server/Dockerfile
Tronax 3f07c78316
feat: initial commit for media tracking software
- Setup C++/Qt6 desktop application structure
- Added initial Go proxy backend for TMDB/IGDB integration
2026-06-15 02:02:25 +02:00

14 lines
379 B
Docker

# --- build stage ---
FROM golang:1.22-alpine AS build
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /umt-tmdb-proxy .
# --- run stage ---
FROM gcr.io/distroless/static-debian12
COPY --from=build /umt-tmdb-proxy /umt-tmdb-proxy
EXPOSE 8080
USER nonroot:nonroot
ENTRYPOINT ["/umt-tmdb-proxy"]