Tweaks to make docker image smaller

This commit is contained in:
Neale Pickett 2018-05-05 22:00:03 +00:00
parent 7f0d945aab
commit 83b790a3b3
2 changed files with 5 additions and 5 deletions

View File

@ -1,14 +1,14 @@
FROM neale/eris
RUN apk --no-cache add lua5.2 lua5.3
RUN ln -s lua5.2 /usr/bin/lua
# Install MOTH. This could be less obtuse.
COPY www /moth/www/
COPY bin /moth/bin/
COPY src/moth-init /moth/init
RUN ln -s ../state/puzzles.json /moth/www/puzzles.json && \
ln -s ../state/points.json /moth/www/points.json
ln -s ../state/points.json /moth/www/points.json && \
apk --no-cache add lua5.2 lua5.3 && \
ln -s lua5.2 /usr/bin/lua
CMD ["/moth/init"]

View File

@ -277,7 +277,7 @@ if __name__ == '__main__':
help="Serve one page, then exit. For debugging the server."
)
parser.add_argument(
'--bind', default="127.0.0.1:8080",
'--bind', default="0.0.0.0:8080",
help="Bind to ip:port"
)
parser.add_argument(