Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
1lann committed Aug 12, 2016
1 parent 46965e9 commit 26ce48d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.7-alpine
RUN apk add --no-cache git
RUN go get -u github.com/1lann/lol-replay/server
RUN mkdir /lol-replay
RUN echo '{\n\
RUN echo $'{\n\
"players": [],\n\
"recordings_directory": "/lol-replay/recordings",\n\
"bind_address": "0.0.0.0:9001",\n\
Expand All @@ -11,8 +11,7 @@ RUN echo '{\n\
"keep_num_recordings": 100,\n\
"show_per_page": 20,\n\
"show_replay_port_as": 9001\n\
}'\
>> /lol-replay/config.json
}' > /lol-replay/config.json
VOLUME /lol-replay
CMD /go/bin/server /lol-replay/config.json
EXPOSE 9001

0 comments on commit 26ce48d

Please sign in to comment.