This commit is contained in:
2025-02-28 21:17:57 +00:00
parent 3690935295
commit f957088bea

View File

@@ -5,7 +5,7 @@ COPY go.mod go.sum ./
RUN go mod download RUN go mod download
COPY . . COPY . .
RUN go build -ldflags="-s -w" -o spotify-ws . RUN go build -ldflags="-s -w" -o spotify-ws .
RUN go build -ldflags="-s -w" -o healthcheck healthcheck.go RUN go build -ldflags="-s -w" -o healthcheck ./healthcheck/healthcheck.go
FROM gcr.io/distroless/static:nonroot FROM gcr.io/distroless/static:nonroot
WORKDIR /app WORKDIR /app