Fixed README formatting.

This commit is contained in:
Jeromy Streets 2018-07-29 12:00:00 -07:00
parent 26bd3affa2
commit fe918d4ad1

View File

@ -47,9 +47,9 @@ PORT=8888 FOLDER=. ./serve
Files can then be accessed by going to http://localhost:8888/my/file.txt Files can then be accessed by going to http://localhost:8888/my/file.txt
### With Docker ### With Docker
```
docker run -d -v /my/folder:/web -p 8080:8080 halverneus/static-file-server:latest
```bash ```bash
docker run -d -v /my/folder:/web -p 8080:8080 halverneus/static-file-server:latest
```
This will serve the folder "/my/folder" over http://localhost:8080/my/file.txt This will serve the folder "/my/folder" over http://localhost:8080/my/file.txt
Any of the variables can also be modified: Any of the variables can also be modified: