python3.7 timezone fix

This commit is contained in:
pycook
2019-11-13 13:56:44 +08:00
parent c85e535288
commit f6add52721
2 changed files with 4 additions and 2 deletions

View File

@@ -26,7 +26,9 @@ COPY . /data/apps/cmdb
WORKDIR /data/apps/cmdb
RUN apk add --no-cache gcc musl-dev libffi-dev
RUN apk add --no-cache tzdata gcc musl-dev libffi-dev
ENV TZ=Asia/Shanghai
RUN pip install --no-cache-dir -r docs/requirements.txt \
&& cp ./api/settings.py.example ./api/settings.py \