From 8cd111f98555d78d9da8f2081feb5afc8ad9f191 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 7 Jun 2023 15:41:39 +0800 Subject: [PATCH] fix build --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c0ff1e87..3ab964f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,8 @@ RUN pip install cython && pip install -r requirements.txt \ && python_ver=$(python3 -V | awk '{print $2}') \ && 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 + && echo 'fs.inotify.max_user_instances=5242880' >> /etc/sysctl.conf \ + && rm -rf /root/.cache/ EXPOSE 3001 VOLUME ["/config"] ENTRYPOINT [ "python3", "app/main.py" ]