Compare commits
No commits in common. "8c0e0cf187336bcfed7845047a84b216ae60d874" and "8e52b787f8e315516fa52717d842ecbb872ae2df" have entirely different histories.
8c0e0cf187
...
8e52b787f8
@ -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 . .
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user