diary-website

Website for diary
git clone https://git.in0rdr.ch/diary-website.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

Dockerfile (404B)


      1 FROM docker.io/ruby:3.2
      2 
      3 WORKDIR /usr/src/app
      4 COPY . /usr/src/app
      5 
      6 # Copy rendered man pages
      7 RUN git clone --depth 1 https://git.in0rdr.ch/diary.git /tmp/diary.git
      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"]