small fix, don't worry about it

This commit is contained in:
Tomas Dvorak
2026-04-10 12:06:24 +02:00
commit 5c500a72b0
243 changed files with 44176 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM golang:1.25-alpine AS build
WORKDIR /src
COPY go.mod go.sum* ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o /bin/seen-api ./cmd/api
FROM alpine:3.20
RUN adduser -D -u 10001 appuser
COPY --from=build /bin/seen-api /seen-api
EXPOSE 8081
USER appuser
ENTRYPOINT ["/seen-api"]