mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
moved
This commit is contained in:
parent
e9009203c4
commit
59e433996e
3 changed files with 0 additions and 0 deletions
20
scripts/Dockerfile.jekyll
Normal file
20
scripts/Dockerfile.jekyll
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Use the official Jekyll image from Docker Hub
|
||||
FROM jekyll/jekyll:latest
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /srv/jekyll
|
||||
|
||||
# Copy the current directory contents into the container at /srv/jekyll
|
||||
COPY . /srv/jekyll
|
||||
|
||||
# Install any needed packages specified in Gemfile
|
||||
RUN bundle install
|
||||
|
||||
# Expose port 4000 to the host
|
||||
EXPOSE 4000
|
||||
|
||||
# Health check to ensure the server is running
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s CMD curl -f http://localhost:4000 || exit 1
|
||||
|
||||
# Run Jekyll server
|
||||
CMD ["jekyll", "serve", "--host", "0.0.0.0", "--port", "4000", "--verbose"]
|
Loading…
Add table
Add a link
Reference in a new issue