bugfix: 修改时区问题和定时任务
This commit is contained in:
parent
fcca6fd8c1
commit
e9e743675c
|
|
@ -17,6 +17,8 @@ RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
|
|||
# 应用启动
|
||||
FROM python:3.8.6-slim
|
||||
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
|
||||
RUN echo "Asia/Shanghai" > /etc/timezone
|
||||
|
||||
COPY --from=build /install /usr/local
|
||||
|
|
|
|||
Loading…
Reference in New Issue