Finialized multipart upload and graceful shutdown. Added Dockerfile.

This commit is contained in:
2026-02-22 23:00:33 +01:00
parent 5d41ec9e0a
commit c989037160
6 changed files with 115 additions and 8 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM golang:1.25-alpine AS build
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o /app/fs .
FROM scratch AS runner
COPY --from=build /app/fs /app/fs
WORKDIR /app
CMD ["/app/fs"]