Commit 50d93013 by 蒋勇

d

parent 680b26e0
#!/bin/bash
FROM python:3.6-alpine
FROM registry.cn-beijing.aliyuncs.com/hantang2/python36:v29
MAINTAINER jy "jiangyong@gongsibao.com"
RUN [ -d /apps ] && rm -rf /apps
ADD rpt_result /apps/rpt_result/
WORKDIR /apps/rpt_result/
RUN apk add gcc
RUN apk add libxml2
RUN apk add libxml2-dev
RUN apk add libxslt
RUN apk add libxslt-dev
RUN apk add --update alpine-sdk
# RUN apk add build-essential
RUN pip install -r requirements.txt
RUN pip install -U flask-cors
RUN pip3 install pyecharts -U
RUN pip install snapshot-selenium
RUN pip install oss2
RUN pip install docxtpl
RUN pip3 install elasticsearch==6.3.1
CMD ["python","/apps/rpt_result/main.py"]
......
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