File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 11FROM alpine
22
33ENV GOPATH /go
4+
45COPY . /go/src/github.com/etsy/hound
5- ONBUILD COPY config.json /hound/
6+
7+ COPY default-config.json /data/config.json
8+
69RUN apk update \
710 && apk add go git subversion mercurial bzr openssh \
811 && go install github.com/etsy/hound/cmds/houndd \
912 && apk del go \
1013 && rm -f /var/cache/apk/* \
1114 && rm -rf /go/src /go/pkg
1215
16+ VOLUME ["/data" ]
17+
1318EXPOSE 6080
1419
15- ENTRYPOINT ["/go/bin/houndd" , "-conf" , "/hound /config.json" ]
20+ ENTRYPOINT ["/go/bin/houndd" , "-conf" , "/data /config.json" ]
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ go get github.com/etsy/hound/cmds/...
3434
35352. Run
3636```
37- docker run -it --rm - p 6080:6080 --name houndd -v $(pwd):/hound etsy/hound
37+ docker run -d - p 6080:6080 --name hound -v $(pwd):/data etsy/hound
3838```
3939
4040You should be able to navigate to [http://localhost:6080/](http://localhost:6080/) as usual.
Original file line number Diff line number Diff line change 1+ {
2+ "dbpath" : " db" ,
3+ "repos" : {
4+ "Hound" : {
5+ "url" : " https://github.com/etsy/hound.git"
6+ }
7+ }
8+ }
You can’t perform that action at this time.
0 commit comments