1 Star 0 Fork 937

zhangjing / Pear Admin Flask

forked from Pear Admin / Pear Admin Flask 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 939 Bytes
一键复制 编辑 原始数据 按行查看 历史
不胜舟 提交于 2021-10-28 13:12 . 提交Dockerfile
FROM python:3.7-alpine
RUN echo http://mirrors.aliyun.com/alpine/v3.12/main > /etc/apk/repositories \
&& echo http://mirrors.aliyun.com/alpine/v3.12/community >> /etc/apk/repositories \
&& apk update \
&& apk --update add --no-cache gcc \
&& apk --update add --no-cache g++ \
&& apk --update add --no-cache tzdata \
&& apk --update add --no-cache libffi-dev \
&& apk --update add --no-cache libxslt-dev \
&& apk --update add --no-cache jpeg-dev
ENV TIME_ZONE Asia/Shanghai
ENV PIPURL "https://pypi.tuna.tsinghua.edu.cn/simple"
RUN echo "${TIME_ZONE}" > /etc/timezone \
&& ln -sf /usr/share/zoneinfo/${TIME_ZONE} /etc/localtime
COPY . /app
WORKDIR /app
RUN pip --no-cache-dir install -i ${PIPURL} --upgrade pip \
&& pip --no-cache-dir install -i ${PIPURL} -r requirement/requirement-dev.txt \
&& pip --no-cache-dir install -i ${PIPURL} gunicorn \
&& chmod +x start.sh
CMD ./start.sh
Python
1
https://gitee.com/zhang-jing151/pear-admin-flask.git
git@gitee.com:zhang-jing151/pear-admin-flask.git
zhang-jing151
pear-admin-flask
Pear Admin Flask
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891