From 83fae4df636d0b65b59e1462de21ea0eb94bdbc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=97=AA=D1=94=CE=BD=CE=B9=CE=B7=20=E1=97=B7=CF=85=D0=BD?= =?UTF-8?q?=CA=9F?= Date: Fri, 22 Jan 2021 19:49:53 -0500 Subject: [PATCH] fix: allow configuring timezone --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7778484..de4aad1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,8 @@ RUN ./_do_build_server FROM alpine:3.12.3 RUN apk add -U --no-cache \ ffmpeg \ - ca-certificates + ca-certificates \ + tzdata COPY --from=builder \ /usr/lib/libgcc_s.so.1 \ /usr/lib/libstdc++.so.6 \ @@ -27,6 +28,7 @@ COPY --from=builder \ /bin/ VOLUME ["/data", "/music", "/cache"] EXPOSE 80 +ENV TZ ENV GONIC_DB_PATH /data/gonic.db ENV GONIC_LISTEN_ADDR :80 ENV GONIC_MUSIC_PATH /music