2017-09-14 09:07:04 -06:00
|
|
|
FROM alpine
|
|
|
|
|
2017-10-23 10:01:11 -06:00
|
|
|
ARG http_proxy
|
|
|
|
ENV http_proxy=${http_proxy}
|
|
|
|
|
2017-09-14 09:07:04 -06:00
|
|
|
RUN apk --no-cache add python3 py3-pillow
|
2017-09-11 10:12:22 -06:00
|
|
|
|
|
|
|
COPY tools/devel-server.py /moth/
|
|
|
|
COPY tools/moth.py /moth/
|
|
|
|
COPY tools/mistune.py /moth/
|
|
|
|
COPY tools/answer_words.txt /moth/
|
|
|
|
COPY www /moth/src/www
|
|
|
|
COPY example-puzzles /moth/puzzles
|
|
|
|
COPY docs /moth/docs
|
|
|
|
|
|
|
|
WORKDIR /moth/
|
|
|
|
ENTRYPOINT ["python3", "/moth/devel-server.py"]
|