mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
build: 构建时安装 playwright 依赖
This commit is contained in:
parent
64c817ebf4
commit
78e1d3aaee
@ -19,4 +19,8 @@ COPY . .
|
||||
RUN sed -i 's/^\-\-index\-url\s.*$//' requirements.txt && \
|
||||
pip3 install --no-cache-dir -r requirements.txt
|
||||
|
||||
RUN playwright install-deps && \
|
||||
playwright install chromium && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
CMD ["nb", "run"]
|
Loading…
Reference in New Issue
Block a user