aider/scripts/Dockerfile.jekyll
2024-06-05 15:04:17 -07:00

18 lines
501 B
Text

# Use the official Jekyll image from Docker Hub
FROM bretfisher/jekyll-serve
# Set the working directory
WORKDIR /site
# Copy the current directory contents into the container at /srv/jekyll
COPY website /site
# Install any needed packages specified in Gemfile
RUN bundle install --retry 5 --jobs 20
ENTRYPOINT [ "docker-entrypoint.sh" ]
# bundle exec jekyll serve --force_polling -H 0.0.0.0 -P 4000
CMD [ "bundle", "exec", "jekyll", "serve", "--force_polling", "-H", "0.0.0.0", "-P", "4000" ]