initial commit

This commit is contained in:
2026-05-12 16:36:17 +02:00
commit fca89420e4
13 changed files with 397 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM golang:1.26-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o social-updater .
FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /app
COPY --from=builder /app/social-updater .
RUN mkdir -p /data
CMD ["./social-updater"]