2017-09-10 21:08:18 -06:00
|
|
|
FROM neale/eris
|
|
|
|
|
2017-11-03 15:20:34 -06:00
|
|
|
RUN apk --no-cache add lua5.2 lua5.3
|
2017-10-11 18:55:34 -06:00
|
|
|
RUN ln -s lua5.2 /usr/bin/lua
|
2017-09-10 21:08:18 -06:00
|
|
|
|
|
|
|
# Install MOTH. This could be less obtuse.
|
2017-11-03 15:20:34 -06:00
|
|
|
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
|
2017-09-10 21:08:18 -06:00
|
|
|
|
2017-11-03 15:20:34 -06:00
|
|
|
CMD ["/moth/init"]
|
2017-09-10 21:08:18 -06:00
|
|
|
|