add image conversion for telegram

This commit is contained in:
2026-02-13 09:37:54 +03:00
parent 1905e7ab16
commit e1ebb83641
5 changed files with 203 additions and 35 deletions
+5 -2
View File
@@ -12,10 +12,13 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /out/remembos ./cmd/remembos
FROM gcr.io/distroless/static:nonroot
FROM alpine:3.21
RUN apk add --no-cache imagemagick \
&& adduser -D -H appuser
COPY --from=build /out/remembos /remembos
USER nonroot:nonroot
USER appuser
ENTRYPOINT ["/remembos"]