From 65b3b6a1eb8f0ec84d9529e1b5f6e54def47f1de Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 7 Jun 2023 15:37:56 +0800 Subject: [PATCH] fix build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f0cbde23..c0ff1e87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,7 @@ WORKDIR ${WORKDIR} COPY . . RUN pip install cython && pip install -r requirements.txt \ && python_ver=$(python3 -V | awk '{print $2}') \ - && echo "${WORKDIR}/" > /usr/lib/python${python_ver%.*}/site-packages/app.pth \ + && 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 EXPOSE 3001