mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-04-20 00:11:23 +02:00
16 lines
No EOL
245 B
Docker
16 lines
No EOL
245 B
Docker
FROM golang:alpine AS builder
|
|
|
|
WORKDIR /tmp/build
|
|
|
|
COPY . .
|
|
RUN go mod download
|
|
RUN go build -o /tmp/build/bin/steamsalty
|
|
|
|
|
|
|
|
FROM scratch
|
|
WORKDIR /app
|
|
COPY --from=builder /tmp/build/bin/steamsalty /app/steamsalty
|
|
|
|
|
|
ENTRYPOINT ["/app/steamsalty"] |