upgrade pip

This commit is contained in:
Jesús 2022-11-19 04:25:51 +08:00
parent f6739d6f91
commit cb237251a5
No known key found for this signature in database
GPG Key ID: 7E68FEB76E35BF92

View File

@ -19,7 +19,8 @@ WORKDIR "$APP_DIR"
RUN git clone --depth=1 "$YT_REPO" --branch "$YT_BRANCH" "$APP_DIR" RUN git clone --depth=1 "$YT_REPO" --branch "$YT_BRANCH" "$APP_DIR"
RUN git show --oneline --no-patch RUN git show --oneline --no-patch
RUN pip install --no-cache-dir --prefix=/install wheel gunicorn RUN pip install --upgrade pip && \
pip install --no-cache-dir --prefix=/install wheel gunicorn
RUN pip install --no-cache-dir --prefix=/install -r requirements.txt RUN pip install --no-cache-dir --prefix=/install -r requirements.txt
COPY 0001.patch "$APP_DIR/0001.patch" COPY 0001.patch "$APP_DIR/0001.patch"