两个 Dockerfile 中的 npm 安装命令里添加了 nodemailer
和 dotenv:
This commit is contained in:
parent
daa5bf345a
commit
d38a737730
@ -40,7 +40,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||||||
# 安装 Playwright 并下载 Chromium
|
# 安装 Playwright 并下载 Chromium
|
||||||
RUN pip install --no-cache-dir playwright && \
|
RUN pip install --no-cache-dir playwright && \
|
||||||
playwright install chromium
|
playwright install chromium
|
||||||
RUN npm install -g playwright sharp && \
|
RUN npm install -g playwright sharp nodemailer dotenv && \
|
||||||
npx playwright install chromium
|
npx playwright install chromium
|
||||||
|
|
||||||
# 复制应用代码
|
# 复制应用代码
|
||||||
|
|||||||
@ -41,7 +41,7 @@ RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple/ -r req
|
|||||||
# 安装 Playwright 并下载 Chromium
|
# 安装 Playwright 并下载 Chromium
|
||||||
RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple/ playwright && \
|
RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple/ playwright && \
|
||||||
playwright install chromium
|
playwright install chromium
|
||||||
RUN npm install -g playwright sharp && \
|
RUN npm install -g playwright sharp nodemailer dotenv && \
|
||||||
npx playwright install chromium
|
npx playwright install chromium
|
||||||
|
|
||||||
# 安装modelscope
|
# 安装modelscope
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user