Skip to content

Commit

Permalink
Switch to umputun/baseimage
Browse files Browse the repository at this point in the history
  • Loading branch information
novikovSU committed Dec 2, 2024
1 parent 9f0d1bd commit 8d25105
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ RUN echo "version=$version"
RUN go build -o /build/tg-retrans -ldflags "-X main.revision=${version} -s -w"


FROM alpine:3.20
#FROM alpine:3.20
FROM umputun/baseimage:app-latest

# enables automatic changelog generation by tools like Dependabot
LABEL org.opencontainers.image.source="https://github.com/radio-t/tg-retrans"
Expand All @@ -27,6 +28,9 @@ RUN \

COPY --from=build /build/tg-retrans /srv/tg-retrans
COPY /logo-dark.png /srv
RUN chown -R app:app /srv

WORKDIR /srv
USER app:app

ENTRYPOINT ["/srv/tg-retrans"]

0 comments on commit 8d25105

Please sign in to comment.