aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authordaltux <1medinnz@duck.com>2025-09-04 15:25:24 -0300
committerdaltux <1medinnz@duck.com>2025-09-04 15:25:24 -0300
commit0f1b67611317ab7163a134573b525eb10b415ea8 (patch)
treeb0c09d2a31302f2c5d71642add1117034badfa15 /Dockerfile
parent36d7bea25d5fcdf6f8417c0403b063726c954ed9 (diff)
Add tzdata to container image
Install Alpine package `tzdata` to the container image. When running it, set timezone from environment variable TZ if not empty.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index e909cfa..3b5aea2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,8 +9,9 @@ RUN apk -U --no-progress --no-cache add curl-dev build-base && \
cp examples/docker-entrypoint.sh /build/out/usr/local/bin/entrypoint.sh
FROM alpine:${ALPINE_VERSION}
-RUN apk -U --no-progress --no-cache add libcurl
+RUN apk -U --no-progress --no-cache add libcurl tzdata
COPY --from=builder /build/out /
EXPOSE 5050
VOLUME [ "/data" ]
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
+