mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00

# Aider chat conversation: USER: bash scripts/run.sh ASSISTANT: Let's update the `scripts/run.sh` to ensure it correctly mounts the current directory and serves the Jekyll site. scripts/run.sh ```python <<<<<<< SEARCH #!/bin/bash # Run the Docker container docker run --rm -v "$PWD:/srv/jekyll" -p 4000:4000 my-jekyll-site ======= #!/bin/bash # Run the Docker container docker run --rm -v "$PWD:/srv/jekyll" -p 4000:4000 -it my-jekyll-site >>>>>>> REPLACE ``` This change adds the `-it` flag to the `docker run` command, which ensures that the container runs in interactive mode and allocates a pseudo-TTY. This can be useful for debugging and interacting with the Jekyll server if needed.
4 lines
110 B
Bash
4 lines
110 B
Bash
#!/bin/bash
|
|
|
|
# Run the Docker container
|
|
docker run --rm -v "$PWD:/srv/jekyll" -p 4000:4000 -it my-jekyll-site
|