chore(Dockerfile): add tzdata for proper timezone handling

This commit is contained in:
wood chen 2024-10-31 01:17:18 +08:00
parent 9c4d57c9b8
commit 63106f9008

View File

@ -18,7 +18,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o random-api .
# 运行阶段
FROM alpine:latest
RUN apk --no-cache add ca-certificates
RUN apk --no-cache add ca-certificates tzdata
WORKDIR /root/