1 Star 0 Fork 56

oruizn/rssant

forked from AnyAnt/rssant 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
Dockerfile 706 Bytes
Copy Edit Raw Blame History
guyskk authored 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"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/oruizn/rssant.git
git@gitee.com:oruizn/rssant.git
oruizn
rssant
rssant
master

Search

23e8dbc6 1850385 7e0993f3 1850385