4 Star 34 Fork 11

Gitee 极速下载 / DevDocs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/freeCodeCamp/devdocs
克隆/下载
Dockerfile 491 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jasper van Merle 提交于 2019-10-11 18:08 . Update dockerfiles
FROM ruby:2.6.5
ENV LANG=C.UTF-8
ENV ENABLE_SERVICE_WORKER=true
WORKDIR /devdocs
RUN apt-get update && \
apt-get -y install git nodejs libcurl4 && \
gem install bundler && \
rm -rf /var/lib/apt/lists/*
COPY Gemfile Gemfile.lock Rakefile /devdocs/
RUN bundle install --system && \
rm -rf ~/.gem /root/.bundle/cache /usr/local/bundle/cache
COPY . /devdocs
RUN thor docs:download --all && \
thor assets:compile && \
rm -rf /tmp
EXPOSE 9292
CMD rackup -o 0.0.0.0
Ruby
1
https://gitee.com/mirrors/DevDocs.git
git@gitee.com:mirrors/DevDocs.git
mirrors
DevDocs
DevDocs
master

搜索帮助