diff options
Diffstat (limited to 'docs/Dockerfile')
| -rw-r--r-- | docs/Dockerfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/Dockerfile b/docs/Dockerfile new file mode 100644 index 00000000..226a4f2d --- /dev/null +++ b/docs/Dockerfile @@ -0,0 +1,17 @@ +FROM ruby:3.2.2 + +RUN bundle config --global frozen 1 && \ + mkdir -p /vendor/bundle && \ + bundle config set --local path /vendor/bundle + +WORKDIR /app + +COPY Gemfile Gemfile.lock ./ + +RUN bundle install + +COPY . . + +EXPOSE 4000 + +CMD bundle exec jekyll serve --host 0.0.0.0 --port 4000 --destination /tmp/_site
\ No newline at end of file |
