moth/Dockerfile.moth

15 lines
343 B
Docker
Raw Normal View History

2017-09-10 21:08:18 -06:00
FROM neale/eris
# 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 && \
2018-05-05 16:00:03 -06:00
ln -s ../state/points.json /moth/www/points.json && \
apk --no-cache add lua5.2 lua5.3 && \
ln -s lua5.2 /usr/bin/lua
2017-09-10 21:08:18 -06:00
CMD ["/moth/init"]
2017-09-10 21:08:18 -06:00