Files
steam_analyzer/deploy/Dockerfile
2026-01-17 22:45:02 +03:00

20 lines
352 B
Docker

FROM golang:1.25-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod tidy && go mod download
COPY . .
RUN GOOS=linux go build -o steam-parser ./cmd/main.go
# --------------------------------- #
FROM alpine:latest AS configure
RUN apk add --no-cache tzdata
WORKDIR /app/
COPY --from=builder /app/steam-parser .
CMD ["./steam-parser"]