Skip to content

Commit af3ddf1

Browse files
committed
Build site in Docker
1 parent 2324b97 commit af3ddf1

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.dockerignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
_site/
2+
.sass-cache/
3+
.jekyll-cache/
4+
.jekyll-metadata
5+
_data/snapshots.csv
6+
_data/sizes.yml
7+
vendor/

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM ruby:3.4.3
2+
WORKDIR /build
3+
COPY Gemfile /build
4+
COPY Gemfile.lock /build
5+
RUN bundle install
6+
COPY . /build
7+
RUN bundle exec jekyll build

0 commit comments

Comments
 (0)