Commit 7e4cb088 by 蒋勇

d

parent b4bda345
#!/bin/bash #!/bin/bash
FROM python:3.6-alpine FROM python:3.4-alpine
MAINTAINER jy "jiangyong@gongsibao.com" MAINTAINER jy "jiangyong@gongsibao.com"
ADD rpt_result /apps/rpt_result/ ADD rpt_result /apps/rpt_result/
WORKDIR /apps/rpt_result/ WORKDIR /apps/rpt_result/
RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ RUN pip install -r requirements.txt
RUN pip install -U flask-cors -i https://mirrors.aliyun.com/pypi/simple/ RUN pip install -U flask-cors
CMD ["python","/apps/rpt_result/main.py"] 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