mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-18 10:07:11 +01:00
17 lines
316 B
Docker
17 lines
316 B
Docker
|
|
FROM ruby:2.3.0
|
|
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
|
|
|