mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 05:08:16 +08:00
python3.7 timezone fix
This commit is contained in:
@@ -26,7 +26,9 @@ COPY . /data/apps/cmdb
|
|||||||
|
|
||||||
WORKDIR /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 \
|
RUN pip install --no-cache-dir -r docs/requirements.txt \
|
||||||
&& cp ./api/settings.py.example ./api/settings.py \
|
&& cp ./api/settings.py.example ./api/settings.py \
|
||||||
|
@@ -32,7 +32,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
TZ: Asia/Shanghai
|
TZ: Asia/Shanghai
|
||||||
command:
|
command:
|
||||||
- /bin/bash
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
gunicorn --workers=3 autoapp:app -b 0.0.0.0:5000 -D
|
gunicorn --workers=3 autoapp:app -b 0.0.0.0:5000 -D
|
||||||
|
Reference in New Issue
Block a user