mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
add final say on how to run docker image with port forwarded
This commit is contained in:
parent
67ee044015
commit
40b0fa348f
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ Under the Hood
|
||||||
```bash
|
```bash
|
||||||
docker build . -t <name of tag you want>`
|
docker build . -t <name of tag you want>`
|
||||||
# if you want to test it locally, you can do this
|
# if you want to test it locally, you can do this
|
||||||
docker run --rm -p 8080:8000 <name of the tag you used>
|
docker run --rm -p 8000:8080 <name of the tag you used>
|
||||||
```
|
```
|
||||||
Then you can go to http://127.0.0.1:8080 in a browser to view your changes.
|
Then you can go to http://127.0.0.1:8080 in a browser to view your changes.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue