mirror of https://github.com/dirtbags/moth.git
Tweaks to make docker image smaller
This commit is contained in:
parent
0606750362
commit
52c95e04be
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue