merge pip install

This commit is contained in:
Gerrit Gogel 2021-01-18 00:54:40 +01:00
parent 4820a509ba
commit e89db2fb48

View file

@ -13,15 +13,10 @@ libmysqlclient-dev \
&& rm -rf /var/lib/apt/lists/*
# Python3
RUN python3.6 -m pip install --upgrade pip && rm -r /root/.cache/pip
RUN pip3 install --timeout=3600 click termcolor colorlog pymysql \
django==1.11.29 && rm -r /root/.cache/pip
RUN pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 \
sqlalchemy django-pylibmc django-simple-captcha && \
rm -r /root/.cache/pip
RUN python3.6 -m pip install --upgrade pip \
&& pip3 install --timeout=3600 click termcolor colorlog pymysql \
Pillow pylibmc captcha jinja2 sqlalchemy django==1.11.29 django-pylibmc django-simple-captcha \
&& rm -r /root/.cache/pip
# Scripts
COPY scripts /scripts