7 Star 41 Fork 13

jxsylar / wechat-spider

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 569 Bytes
一键复制 编辑 原始数据 按行查看 历史
LonghronShen 提交于 2020-08-26 23:27 . replace to use aliyun debian mirror
FROM python:3.7
RUN cat /etc/apt/sources.list | awk -F[/:] '{print $4}' | sort | uniq | grep -v "^$" | xargs -I{} sed -i 's|{}|mirrors.aliyun.com|g' /etc/apt/sources.list && \
apt update && \
apt install -y psmisc netcat wait-for-it && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip3 install -i https://mirrors.aliyun.com/pypi/simple -r requirements.txt
COPY . .
WORKDIR /app/wechat-spider
EXPOSE 8080
EXPOSE 8081
# ENTRYPOINT [ "python3", "./run.py" ]
CMD [ "python3", "./run.py" ]
1
https://gitee.com/jxsylar/wechat-spider.git
git@gitee.com:jxsylar/wechat-spider.git
jxsylar
wechat-spider
wechat-spider
master

搜索帮助