upgrade pip setuptools to fix uwsgi build error

This commit is contained in:
simon 2022-05-02 17:07:26 +07:00
parent 123c89c3b6
commit be72ded08c
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -6,7 +6,8 @@ RUN apt-get clean && apt-get -y update && \
vim htop bmon net-tools iputils-ping procps
COPY requirements.txt /requirements.txt
RUN pip install --no-cache-dir -r /requirements.txt --src /usr/local/src
RUN pip install --upgrade pip setuptools && \
pip install --no-cache-dir -r /requirements.txt --src /usr/local/src
COPY . /srv/flask_app
WORKDIR /srv/flask_app