Fetch the repository succeeded.
This action will force synchronization from AnyAnt/rssant, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
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"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。