Compare commits

..

No commits in common. "8c0e0cf187336bcfed7845047a84b216ae60d874" and "8e52b787f8e315516fa52717d842ecbb872ae2df" have entirely different histories.

2 changed files with 0 additions and 16 deletions

View File

@ -31,14 +31,6 @@ ENV PATH="/root/.cargo/bin:$PATH"
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 安装 Python 版本 Playwright 并下载 Chromium
RUN pip install --no-cache-dir playwright && \
playwright install --with-deps chromium
# 安装 Node.js 版本 Playwright 并下载 Chromium
RUN npm install -g playwright && \
npx playwright install chromium
# 复制应用代码
COPY . .

View File

@ -32,14 +32,6 @@ ENV PATH="/root/.cargo/bin:$PATH"
COPY requirements.txt .
RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple/ -r requirements.txt
# 安装 Python 版本 Playwright 并下载 Chromium
RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple/ playwright && \
playwright install --with-deps chromium
# 安装 Node.js 版本 Playwright 并下载 Chromium
RUN npm install -g playwright && \
npx playwright install chromium
# 安装modelscope
#RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple/ modelscope