mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
316 B
18 lines
316 B
|
|
FROM ruby:2.2.2
|
|
MAINTAINER Conor Heine <conor.heine@gmail.com>
|
|
|
|
RUN apt-get update
|
|
RUN apt-get -y install git nodejs
|
|
RUN git clone https://github.com/Thibaut/devdocs.git /devdocs
|
|
RUN gem install bundler
|
|
|
|
WORKDIR /devdocs
|
|
|
|
RUN bundle install --system
|
|
RUN thor docs:download --all
|
|
|
|
EXPOSE 9292
|
|
CMD rackup -o 0.0.0.0
|
|
|