Dockerfile (469B)
1 FROM docker.io/arm64v8/ruby:3.2 2 3 RUN git clone --depth 1 https://git.in0rdr.ch/diary-website.git /usr/src/app 4 RUN git clone --depth 1 https://git.in0rdr.ch/diary.git /tmp/diary.git 5 WORKDIR /usr/src/app 6 7 # Copy rendered man pages 8 RUN cp /tmp/diary.git/man1/diary.1.html man.html 9 RUN cp /tmp/diary.git/man1/style.css style.css 10 11 RUN bundle config set path 'vendor/bundle' 12 RUN bundle install 13 CMD ["bundle", "exec", "jekyll", "serve", "--host", "0.0.0.0", "--port", "4000"]