build failure workaround, upgrade pip and setuptools

This commit is contained in:
simon 2022-04-10 16:45:50 +07:00
parent fd5de99674
commit 4b33559212
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,9 @@ RUN mkdir /app
# install python dependencies
COPY ./tubearchivist/requirements.txt /requirements.txt
RUN pip install --no-cache-dir -r requirements.txt --src /usr/local/src
RUN pip install --upgrade pip && \
pip install --upgrade setuptools && \
pip install --no-cache-dir -r requirements.txt --src /usr/local/src
# copy config files
COPY docker_assets/nginx.conf /etc/nginx/sites-available/default