erick.is/Dockerfile.jekyll
Erick Ruiz de Chavez c875c07933 python-refactor (#1)
While writing a new article, I was having issues with Perl making the replacements (it was trying to execute fenced code blocks). After a little bit of research, trying to keep the original script, I decided to keep things simpler and rewrite the generator script with Python instead.

Reviewed-on: #1
2024-12-29 07:49:19 -05:00

9 lines
220 B
Text

FROM ruby:3.3
EXPOSE 4000
WORKDIR /app
COPY Gemfile .
RUN gem install bundler && bundle install
ENTRYPOINT [ "bundle", "exec", "jekyll" ]
CMD [ "serve", "-H", "0.0.0.0", "--force_polling", "--livereload", "--drafts" ]