From 4c6246578a9af6b62f50065d644d449a6b2d591d Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 7 Jun 2023 17:44:57 +0800 Subject: [PATCH] fix build --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e7016a45..e45dabfc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,8 +32,9 @@ ENV LANG="C.UTF-8" \ DOUBAN_USER_IDS="" WORKDIR ${WORKDIR} COPY . . -RUN apt-get install musl-dev \ - && pip install cython \ +RUN apt-get update \ + && 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 \