diff options
Diffstat (limited to '_ci/Containerfile')
| -rw-r--r-- | _ci/Containerfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/_ci/Containerfile b/_ci/Containerfile new file mode 100644 index 0000000..7556069 --- /dev/null +++ b/_ci/Containerfile @@ -0,0 +1,10 @@ +FROM docker.io/library/ruby:3.3 AS builder +WORKDIR /srv/jekyll +COPY Gemfile* ./ +RUN bundle install + +FROM docker.io/library/ruby:3.3-slim +WORKDIR /srv/jekyll +COPY --from=builder /usr/local/bundle /usr/local/bundle +COPY --from=builder /srv/jekyll /srv/jekyll +CMD ["bundle", "exec", "jekyll", "build"] |
