File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM golang:1.6-onbuild
2+
3+ RUN mkdir /data
4+ VOLUME ["/data" ]
5+ WORKDIR /data
6+ EXPOSE 5000
7+ ENTRYPOINT ["app" ]
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ This server is for development purposes only.
33
44# Download
55
6+ ## Binaries
67` simplehttp2server ` is ` go get ` -able:
78
89```
@@ -11,13 +12,21 @@ $ go get github.com/GoogleChrome/simplehttp2server
1112
1213Precompiled binaries can be found in the [ release section] ( https://github.com/GoogleChrome/simplehttp2server/releases ) .
1314
15+ ## Brew
1416You can also install ` simplehttp2server ` using brew if you are on macOS:
1517
1618```
1719$ brew tap GoogleChrome/simplehttp2server https://github.com/GoogleChrome/simplehttp2server
1820$ brew install simplehttp2server
1921```
2022
23+ ## Docker
24+ If you have Docker set up, you can serve the current directory via ` simplehttp2server ` using the following command:
25+
26+ ```
27+ $ docker run -p 5000:5000 -v $PWD:/data surma/simplehttp2server
28+ ```
29+
2130# Push Manifest
2231
2332` simplehttp2server ` supports the [ push manifest] ( https://www.npmjs.com/package/http2-push-manifest ) .
You can’t perform that action at this time.
0 commit comments