• R/O
  • HTTP
  • SSH
  • HTTPS

shogi-server:

shogi-server source


File Info

Rev. 6e9f2816b581e6b6100b3df25700cd3b28ee9a7c
Size 433 bytes
Time 2020-10-04 11:33:03
Author Daigo Moriwaki
Log Message

Bump up revision

Content

FROM debian:stretch-slim
MAINTAINER Daigo Moriwaki <daigo@debian.org>

RUN apt-get update && apt-get install -y \
        ca-certificates \
        apt-utils \
        ruby ruby-gsl

ENV EVENT local
ENV PORT 4081
ENV MAX_IDENTIFIER 32

WORKDIR /shogi-server

RUN mkdir /logs
RUN gem install rgl

COPY . ./

EXPOSE $PORT
CMD ./shogi-server --daemon /logs --max-identifier $MAX_IDENTIFIER $EVENT $PORT & tail -F /logs/shogi-server.log
Show on old repository browser