mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
fix ports and explain them a bit more in the readme
This commit is contained in:
parent
40b0fa348f
commit
be7bf5a6e6
1 changed files with 4 additions and 3 deletions
|
@ -42,11 +42,12 @@ Under the Hood
|
||||||
|
|
||||||
6. for docker, you can just do:
|
6. for docker, you can just do:
|
||||||
```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
|
|
||||||
|
# to test locally, you can do -p 8000:8080 to forward
|
||||||
|
# port 8080 on the container to port 8000 on your local machine
|
||||||
docker run --rm -p 8000:8080 <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.
|
|
||||||
|
|
||||||
For testing locally, _without_ a docker rebuild:
|
For testing locally, _without_ a docker rebuild:
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue