Skip to content
Discussion options

You must be logged in to vote

可以自行替换 Dockerfile文件

wiseflow/Dockerfile

Lines 3 to 6 in a67bc0a

RUN apt-get update && \
apt-get install -y tzdata build-essential unzip
COPY core/requirements.txt /tmp/requirements.txt

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…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bigbrother666sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #156 on April 07, 2025 03:06.