2018-10-02 12:53:41 -06:00
|
|
|
FROM alpine:3.8
|
2017-09-14 09:07:04 -06:00
|
|
|
|
2018-09-11 15:54:48 -06:00
|
|
|
RUN apk --no-cache add \
|
|
|
|
gcc \
|
|
|
|
musl-dev \
|
|
|
|
python3 \
|
|
|
|
python3-dev \
|
|
|
|
py3-pillow \
|
2018-10-02 19:21:54 -06:00
|
|
|
&& pip3 install aiohttp
|
2017-10-23 10:01:11 -06:00
|
|
|
|
2018-10-02 19:21:54 -06:00
|
|
|
COPY devel /app/
|
2018-05-11 15:48:10 -06:00
|
|
|
COPY example-puzzles /puzzles/
|
2018-10-02 19:21:54 -06:00
|
|
|
COPY theme /theme/
|
2017-09-11 10:12:22 -06:00
|
|
|
|
|
|
|
WORKDIR /moth/
|
2018-10-02 19:21:54 -06:00
|
|
|
ENTRYPOINT [ "python3", "/app/devel-server.py" ]
|
|
|
|
CMD [ "--bind", "0.0.0.0:8080", "--puzzles", "/puzzles", "--theme", "/theme" ]
|