From f34c0b529b1f5468bd9816aad186b44fc87c952b Mon Sep 17 00:00:00 2001 From: marvzhang Date: Wed, 12 Feb 2020 11:49:37 +0800 Subject: [PATCH] fixed https://github.com/crawlab-team/crawlab/issues/546 --- Dockerfile | 3 +++ Dockerfile.local | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 40757d51..82b944ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,6 +54,9 @@ COPY --from=frontend-build /app/conf/crawlab.conf /etc/nginx/conf.d # working directory WORKDIR /app/backend +# timezone environment +ENV TZ Asia/Shanghai + # frontend port EXPOSE 8080 diff --git a/Dockerfile.local b/Dockerfile.local index 240d84e4..ea4a1ff9 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -52,6 +52,9 @@ COPY --from=frontend-build /app/conf/crawlab.conf /etc/nginx/conf.d # working directory WORKDIR /app/backend +# timezone environment +ENV TZ Asia/Shanghai + # frontend port EXPOSE 8080