1 Star 0 Fork 13

思量短_. / wechat-spider

forked from 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" ]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hf4514/wechat-spider.git
git@gitee.com:hf4514/wechat-spider.git
hf4514
wechat-spider
wechat-spider
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891