1
0
Fork 0

Upgrade all the packages on the final stage

This way we get latest security fixes.
main
Daniele Tricoli 5 months ago
parent 56540639e0
commit 3cf55a9700
  1. 4
      Dockerfile

@ -2,7 +2,7 @@ FROM golang:1.17-alpine3.15 AS builder
WORKDIR /app
RUN apk --no-cache add git
RUN apk -U --no-cache add git
COPY . .
@ -12,6 +12,8 @@ FROM alpine:3.15
COPY --from=builder /app/telegram-group2mastodon /bin/telegram-group2mastodon
RUN apk -U --no-cache upgrade
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
USER appuser

Loading…
Cancel
Save