run the site locally inside docker container

This commit is contained in:
Dmitry Kolesnikov
2020-07-28 17:31:49 +03:00
parent 31b99a2a9b
commit ff40b7881a
5 changed files with 33 additions and 2 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM ruby:2.6
ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
WORKDIR /usr/src/app
COPY Gemfile just-the-docs.gemspec ./
RUN gem install bundler && bundle install
EXPOSE 4000