From e6f51be10582802721f1291d93eb459b6562c90a Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 9 Jun 2023 19:32:20 +0800 Subject: [PATCH] playwright install --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6bc6abbc..79c57873 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,8 @@ RUN apt-get update \ && echo "${WORKDIR}/" > /usr/local/lib/python${python_ver%.*}/site-packages/app.pth \ && echo 'fs.inotify.max_user_watches=5242880' >> /etc/sysctl.conf \ && echo 'fs.inotify.max_user_instances=5242880' >> /etc/sysctl.conf \ - && rm -rf /root/.cache/ + && rm -rf /root/.cache/ \ + && playwright install --with-deps chromium EXPOSE 3001 VOLUME ["/config"] ENTRYPOINT [ "python3", "app/main.py" ]