add image conversion for telegram
This commit is contained in:
+5
-2
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user