Commit c485365b authored by pengxiong's avatar pengxiong

docker文件

parent 919cf7e8
FROM centos:centos7
# RUN echo http://mirrors.aliyun.com/alpine/v3.12/main > /etc/apk/repositories
# RUN echo http://mirrors.aliyun.com/alpine/v3.12/community >> /etc/apk/repositories
# RUN apk update
# RUN apk --update add --no-cache gcc g++ tzdata libffi-dev libxslt-dev jpeg-dev libressl-dev musl-dev unzip
# RUN apk --update add --no-cache freetype-dev freetds-dev gfortran libgcc libquadmath libgfortran lapack-dev
# RUN apk --update add --no-cache tzdata
# RUN apk --update add --no-cache libffi-dev
# RUN apk --update add --no-cache libxslt-dev
# RUN apk --update add --no-cache jpeg-dev
# RUN apk --update add --no-cache libressl-dev musl-dev
ENV TIME_ZONE Asia/Shanghai
ENV PIPURL "https://pypi.tuna.tsinghua.edu.cn/simple"
RUN echo "${TIME_ZONE}" > /etc/timezone
RUN ln -sf /usr/share/zoneinfo/${TIME_ZONE} /etc/localtime
# WORKDIR /logs
WORKDIR /projects
COPY requirements.txt .
COPY app/ app
COPY start.sh .
# RUN pip --no-cache-dir install -i ${PIPURL} --upgrade pip
RUN pip3 --no-cache-dir install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
CMD sh start.sh
numpy==1.19.4
tushare==1.2.62
cvxpy==1.1.7
pyecharts==1.9.0
SQLAlchemy==1.2.8
pandas==1.1.5
Flask==1.1.1
redis==3.3.8
pdfkit==0.6.1
scipy==1.3.0
imgkit==1.0.2
Jinja2==2.10.1
Flask_RESTful==0.3.6
oss2==2.13.1
opencv_python==4.1.0.25
matplotlib==3.3.3
PyPDF2==1.26.0
PyYAML==5.3.1
scikit_learn==0.24.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment