Fetch the repository succeeded.
This action will force synchronization from OI-wiki/OI-wiki, 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 ubuntu:22.04
LABEL org.oi-wiki.image.authors="frank99-xu@outlook.com mxr612@icloud.com coelacanthus@outlook.com"
ARG WIKI_REPO PYPI_MIRROR LISTEN_IP LISTEN_PORT
ENV LISTEN_IP=${LISTEN_IP:-0.0.0.0}
ENV LISTEN_PORT=${LISTEN_PORT:-8000}
WORKDIR /
RUN apt-get update \
&& apt-get install -y git wget curl pipenv gcc g++ make \
&& curl -sL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get install -y nodejs
# If you can't connect to GitHub, set WIKI_REPO to any mirror repo.
RUN git clone ${WIKI_REPO:-https://github.com/OI-wiki/OI-wiki.git} --depth=1 \
&& cd OI-wiki \
&& pipenv install --pypi-mirror ${PYPI_MIRROR:-https://pypi.org/simple/} \
&& yarn --frozen-lockfile
ADD .bashrc /root/
WORKDIR /OI-wiki
EXPOSE ${LISTEN_PORT}
CMD ["/bin/bash"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。