aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-11-19 04:25:51 +0800
committerJesús <heckyel@hyperbola.info>2022-11-19 04:25:51 +0800
commitcb237251a593901e27e30aa8c311ae480e5c21e1 (patch)
tree1152c1c03a7985d283b82fcedb5a2fe8b4741081
parentf6739d6f91a9ebdc48612f15e32bb9ccc05bc61c (diff)
downloadyt-local-docker-cb237251a593901e27e30aa8c311ae480e5c21e1.tar.lz
yt-local-docker-cb237251a593901e27e30aa8c311ae480e5c21e1.tar.xz
yt-local-docker-cb237251a593901e27e30aa8c311ae480e5c21e1.zip
upgrade pip
-rw-r--r--core/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Dockerfile b/core/Dockerfile
index 73d902c..9d1955b 100644
--- a/core/Dockerfile
+++ b/core/Dockerfile
@@ -19,7 +19,8 @@ WORKDIR "$APP_DIR"
RUN git clone --depth=1 "$YT_REPO" --branch "$YT_BRANCH" "$APP_DIR"
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
COPY 0001.patch "$APP_DIR/0001.patch"