Skip to content

Commit

Permalink
chore: upgrade Docker Image to Alpine 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
phorcys420 authored Jul 24, 2024
1 parent 93eb0b4 commit 3b897bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN dart pub get
# AOT Compilation allows to reduce overhead, rather than using dart run on each startup
RUN dart compile aot-snapshot -o /tmp/codercord.aot bin/codercord.dart

FROM alpine:3.18 as runner
FROM alpine:3.20 as runner

RUN adduser --disabled-password -u 1337 codercord codercord

Expand All @@ -23,4 +23,4 @@ COPY --from=builder --chown=codercord:codercord /tmp/codercord.aot codercord.aot
COPY --from=builder --chown=codercord:codercord /src/tags.json tags.json

USER codercord
ENTRYPOINT [ "dartaotruntime", "codercord.aot" ]
ENTRYPOINT [ "dartaotruntime", "codercord.aot" ]

0 comments on commit 3b897bc

Please # to comment.