This commit is contained in:
Noah 2024-12-20 02:09:07 +01:00
parent 6aa64b6287
commit 3ec330e3a2
16 changed files with 408 additions and 1 deletions

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
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"]