fix build

This commit is contained in:
jxxghp
2023-06-07 17:41:02 +08:00
parent 3e3e4acd31
commit 428632729e

View File

@ -32,7 +32,9 @@ ENV LANG="C.UTF-8" \
DOUBAN_USER_IDS=""
WORKDIR ${WORKDIR}
COPY . .
RUN pip install cython && pip install -r requirements.txt \
RUN apt-get install musl-dev \
&& 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 \