fix build

This commit is contained in:
jxxghp
2023-07-22 22:25:05 +08:00
parent 88a0d63198
commit 7c3cdfafce
2 changed files with 5 additions and 1 deletions

View File

@ -33,7 +33,7 @@ COPY . .
RUN apt-get update \
&& apt-get -y install musl-dev nginx \
&& mkdir -p /etc/nginx \
&& cp -f nginx.conf /etc/nginx/nginx.conf \
&& cp -f nginx.conf /etc/nginx/nginx.template.conf \
&& pip install -r requirements.txt \
&& python_ver=$(python3 -V | awk '{print $2}') \
&& echo "/app/" > /usr/local/lib/python${python_ver%.*}/site-packages/app.pth \