1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-06 09:44:54 +01:00
Files
docs/Dockerfile
SuperQ 92c3baeb99 Update Nanoc 4.13
Update Nanoc and Ruby.
* Update to the latest supported Ruby version.
* Bump bundler.
* Bump stringio.
* Update to Nanoc 4.13.
* Increase open PR limit.
* Fixup `exists?` deprecation.

Signed-off-by: SuperQ <superq@gmail.com>
2025-03-11 10:20:15 +01:00

12 lines
286 B
Docker

FROM ruby:3.4
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