mirror of
https://github.com/prometheus/docs.git
synced 2026-02-06 09:44:54 +01:00
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>
12 lines
286 B
Docker
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
|