From 2e55b22006fca7a3c5789d5289e9f7efcc07887a Mon Sep 17 00:00:00 2001 From: steve192 Date: Wed, 17 Apr 2024 11:53:20 +0200 Subject: [PATCH] use alpine pip3 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c85cb7b..5451420 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,16 @@ FROM alpine:3.19 # Install python and build-dependencies for uWSGI -RUN apk add --update --no-cache python3 python3-dev build-base linux-headers pcre-dev && ln -sf python3 /usr/bin/python +RUN apk add --update --no-cache python3 python3-dev py3-pip build-base linux-headers pcre-dev && ln -sf python3 /usr/bin/python # Install pip, currently not needed, as installed by apk # RUN python3 -m ensurepip -RUN pip install --no-cache --upgrade pip setuptools +RUN pip3 install --no-cache --upgrade pip setuptools # Install dependencies COPY ./requirements.txt /app/requirements.txt WORKDIR /app -RUN pip install --no-cache -r requirements.txt +RUN pip3 install --no-cache -r requirements.txt # Install application and configs COPY . /app