Skip to content

Commit 92f845f

Browse files
committed
Switch final Docker stage to alpine and add tzdata
Changed the final Docker image base from golang to alpine and added tzdata to the installed packages. This reduces image size and ensures timezone data is available.
1 parent 00f8881 commit 92f845f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ RUN yarn types
2727
COPY ./web/ ./
2828
RUN yarn build
2929

30-
FROM golang:${V_GOLANG}-alpine AS final
31-
RUN apk add --update --no-cache dumb-init && \
30+
FROM alpine:${V_ALPINE} AS final
31+
RUN apk add --update --no-cache tzdata dumb-init && \
3232
rm -rf /tmp/* /var/tmp/* /usr/share/man /var/cache/apk/*
3333

3434
COPY ./config/logo.svg /logo.svg

0 commit comments

Comments
 (0)