1
1
mirror of https://github.com/derogab/ITAvsCOVIDbot synced 2024-12-27 07:52:24 +01:00

Move some packages to tmp packages

This commit is contained in:
Gabriele De Rosa 2021-11-26 12:54:06 +01:00
parent 6cbbd6d1b3
commit f4caa7a924

View File

@ -8,7 +8,6 @@ RUN apk update --no-cache \
# Install packages
&& apk add --no-cache \
tzdata \
build-base freetype-dev libpng-dev openblas-dev \
python3 py3-pip py3-numpy py3-pandas py3-matplotlib \
wkhtmltopdf \
# Set UTC as timezone
@ -27,7 +26,7 @@ COPY requirements.txt .
# Install requirements
RUN apk update --no-cache \
# Install tmp packages
&& apk add --no-cache --virtual build-deps gcc python3-dev musl-dev \
&& apk add --no-cache --virtual build-deps gcc python3-dev musl-dev build-base freetype-dev libpng-dev openblas-dev \
# Add PIP extra index URLs
&& mv pip.conf /etc/pip.conf \
# Install PIP packages