1FROM ruby:3.3-alpine
2
3WORKDIR /app
4
5RUN apk add --no-cache build-base git
6
7COPY Gemfile Gemfile.lock ./
8RUN bundle install
9
10COPY . .
11
12EXPOSE 4000 35729
13
14CMD ["bundle", "exec", "jekyll", "serve", "--host", "0.0.0.0", "--port", "4000", "--livereload", "--livereload-port", "35729", "--force_polling", "--baseurl", ""]