OSDN Git Service
(root)
/
shogi-server
/
shogi-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfdefe5
)
Run shogi-server as a service, specifying a log output directory
author
Daigo Moriwaki
<daigo@debian.org>
Sat, 7 Apr 2018 10:24:19 +0000
(19:24 +0900)
committer
Daigo Moriwaki
<daigo@debian.org>
Sat, 7 Apr 2018 10:24:19 +0000
(19:24 +0900)
Dockerfile
patch
|
blob
|
history
diff --git
a/Dockerfile
b/Dockerfile
index
846927c
..
7758835
100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-18,4
+18,4
@@
RUN gem install rgl
COPY . ./
EXPOSE $PORT
-CMD ./shogi-server --
player-log-dir ./player-logs --max-identifier $MAX_IDENTIFIER $EVENT $PORT
+CMD ./shogi-server --
daemon /logs --max-identifier $MAX_IDENTIFIER $EVENT $PORT & tail -F /logs/shogi-server.log