27 Star 240 Fork 53

AnyAnt / rssant

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 706 Bytes
一键复制 编辑 原始数据 按行查看 历史
guyskk 提交于 2022-01-07 17:54 . change pypi mirror to douban
FROM python:3.8.6-buster
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY etc/apt-sources.list /etc/apt/sources.list
# Fix DNS pollution of local network
COPY etc/resolv.conf /etc/resolv.conf
RUN apt-get update && \
apt-get install -y \
git neovim tree xz-utils lsof strace htop tcpdump dstat gdb \
dnsutils iputils-ping iproute2 && \
ln -s -f /usr/bin/nvim /usr/bin/vim && ln -s -f /usr/bin/nvim /usr/bin/vi
ARG PYPI_MIRROR="https://pypi.doubanio.com/simple/"
ENV PIP_INDEX_URL=$PYPI_MIRROR PIP_DISABLE_PIP_VERSION_CHECK=1
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN python manage.py collectstatic
EXPOSE 6788 6786
CMD ["/bin/bash"]
Python
1
https://gitee.com/anyant/rssant.git
git@gitee.com:anyant/rssant.git
anyant
rssant
rssant
master

搜索帮助