Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
gengjiawen authored and codeskyblue committed Dec 27, 2017
1 parent bd7666b commit 7f4444b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ cd $GOPATH/src/github.com/codeskyblue/gohttpserver
go build && ./gohttpserver
```

## Docker
```bash
docker build -t gohttpserver ./
# share pwd
docker run -it -p 8000:8000 -v $PWD:/app/public --name gohttpserver gohttpserver
```

## Usage
Listen on port 8000 of all interfaces, and enable file uploading.

Expand Down

0 comments on commit 7f4444b

Please sign in to comment.