moth/Dockerfile.moth

18 lines
377 B
Docker
Raw Normal View History

2017-09-10 21:08:18 -06:00
FROM neale/eris
RUN apk --no-cache add lua5.2
RUN apk --no-cache add 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.
COPY www /moth/www
COPY bin /moth/bin
RUN ln -s ../state/puzzles.json /moth/www/puzzles.json
RUN ln -s ../state/points.json /moth/www/points.json
COPY src/moth-init /usr/sbin/moth-init
WORKDIR /
CMD ["/usr/sbin/moth-init"]