1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-05 15:45:27 +01:00
Files
docs/Dockerfile
Ben Kochie 278728d4e8 Update build (#1770)
* Update to Ruby 2.7.
* Update nanoc/gems.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-10-16 14:56:56 +02:00

12 lines
286 B
Docker

FROM ruby:2.7
EXPOSE 3000
WORKDIR /usr/src/app
COPY Gemfile /usr/src/app/
COPY Gemfile.lock /usr/src/app/
RUN gem update bundler
RUN bundle install
COPY . /usr/src/app
RUN bundle exec nanoc --verbose
CMD bundle exec nanoc view --host 0.0.0.0
VOLUME output