docker/rocky-django/Dockerfile
2022-04-18 11:21:20 +08:00

19 lines
719 B
Docker

ARG ARCH
FROM harbor.colben.cn/general/rocky-python$ARCH
MAINTAINER Colben colbenlee@gmail.com
ARG ARCH
RUN pip3 install \
-i https://pypi.tuna.tsinghua.edu.cn/simple \
--trusted-host pypi.tuna.tsinghua.edu.cn \
requests==2.18.3 \
redis==3.4.1 \
django==2.2.10 \
djangorestframework==3.11.0 \
mysqlclient==1.4.6 \
sqlparse==0.3.0 \
django-cors-headers==3.2.0 \
uwsgi==2.0.18 \
django-mysql==3.5.0 \
&& rm -rf /root/.cache/pip