1 Star 0 Fork 0

新无止竞 / proxy_pool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 569 Bytes
一键复制 编辑 原始数据 按行查看 历史
jhao 提交于 2021-04-12 15:14 . [update] timezone
FROM python:3.6-alpine
MAINTAINER jhao104 <j_hao104@163.com>
WORKDIR /app
COPY ./requirements.txt .
# apk repository
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
# timezone
RUN apk add -U tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && apk del tzdata
# runtime environment
RUN apk add musl-dev gcc libxml2-dev libxslt-dev && \
pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ && \
apk del gcc musl-dev
COPY . .
EXPOSE 5010
ENTRYPOINT [ "sh", "start.sh" ]
Python
1
https://gitee.com/huiwei13/proxy_pool.git
git@gitee.com:huiwei13/proxy_pool.git
huiwei13
proxy_pool
proxy_pool
master

搜索帮助