We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
发现容器运行,默认时间是UTC, 可否修改为CST;这样和本地的时间一致了。不过我想这个也不会影响项目的运行吧?
The text was updated successfully, but these errors were encountered:
是的,并无实质影响,你也可以在启动 contrainer 时指定 LC
Sorry, something went wrong.
可以自行替换 Dockerfile文件
Dockerfile
wiseflow/Dockerfile
Lines 3 to 6 in a67bc0a
FROM python:3.10-slim RUN apt-get update && \ apt-get install -y tzdata build-essential unzip && \ # 设置时区为中国标准时间(CST) ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ echo "Asia/Shanghai" > /etc/timezone COPY core/requirements.txt /tmp/requirements.txt RUN pip install --no-cache-dir -r /tmp/requirements.txt RUN playwright install RUN playwright install-deps WORKDIR #/app # 下载并解压 PocketBase ADD https://github.com/pocketbase/pocketbase/releases/download/v0.23.4/pocketbase_0.23.4_linux_amd64.zip /tmp/pb.zip # 对于 arm 设备 # ADD https://github.com/pocketbase/pocketbase/releases/download/v0.23.4/pocketbase_0.23.4_linux_arm64.zip /tmp/pb.zip RUN unzip /tmp/pb.zip -d /pb/ RUN apt-get clean && rm -rf /var/lib/apt/lists/* EXPOSE 8090 # EXPOSE 8077 CMD tail -f /dev/null
No branches or pull requests
发现容器运行,默认时间是UTC, 可否修改为CST;这样和本地的时间一致了。不过我想这个也不会影响项目的运行吧?
The text was updated successfully, but these errors were encountered: