mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
aider: Add the -it
flag to the docker run
command in scripts/run.sh
to run the container in interactive mode.
# 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.
This commit is contained in:
parent
e41af1c28e
commit
a76bf0c9fa
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Run the Docker container
|
||||
docker run --rm -v "$PWD:/srv/jekyll" -p 4000:4000 my-jekyll-site
|
||||
docker run --rm -v "$PWD:/srv/jekyll" -p 4000:4000 -it my-jekyll-site
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue