fix build
This commit is contained in:
parent
428632729e
commit
4c6246578a
@ -32,8 +32,9 @@ ENV LANG="C.UTF-8" \
|
|||||||
DOUBAN_USER_IDS=""
|
DOUBAN_USER_IDS=""
|
||||||
WORKDIR ${WORKDIR}
|
WORKDIR ${WORKDIR}
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apt-get install musl-dev \
|
RUN apt-get update \
|
||||||
&& pip install cython \
|
&& apt-get install musl-dev \
|
||||||
|
&& pip install cython \
|
||||||
&& pip install -r requirements.txt \
|
&& pip install -r requirements.txt \
|
||||||
&& python_ver=$(python3 -V | awk '{print $2}') \
|
&& python_ver=$(python3 -V | awk '{print $2}') \
|
||||||
&& echo "${WORKDIR}/" > /usr/local/lib/python${python_ver%.*}/site-packages/app.pth \
|
&& echo "${WORKDIR}/" > /usr/local/lib/python${python_ver%.*}/site-packages/app.pth \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user