Browse Source

[fix] Dockerfile image

ignore existing wheels, rebuild all of them
fix an issue the lxml wheel for the muslc
Alexandre Flament 3 years ago
parent
commit
dc39f9c960
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -47,8 +47,8 @@ RUN apk upgrade --no-cache \
     uwsgi \
     uwsgi-python3 \
     brotli \
- && pip3 install --upgrade pip \
- && pip3 install --no-cache -r requirements.txt \
+ && pip3 install --upgrade pip wheel setuptools \
+ && pip3 install --no-cache  --no-binary :all: -r requirements.txt \
  && apk del build-dependencies \
  && rm -rf /root/.cache