Skip to content

Commit

Permalink
detach the terminal after the docker container run
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoavellanedat17 committed Jul 9, 2024
1 parent 47d31d7 commit cf1344f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ jobs:
sudo docker rm $(sudo docker ps -aq) || true
# Run new Docker container
sudo docker run -p 8000:8000 fastapi-to-dos
sudo docker run -d -p 8000:8000 fastapi-to-dos
EOF
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Asegurate que tengas docker instalado en la maquina de destino .[Web oficial de
```sh
docker build -t fastapi-to-dos .

docker run -p 8000:8000 fastapi-to-dos
docker run -d -p 8000:8000 fastapi-to-dos
```

4. **Access the DB of the dockerContainer**
Expand Down

0 comments on commit cf1344f

Please sign in to comment.