2019-03-01 14:23:40 -07:00
|
|
|
FROM python:3.7.2-alpine3.8
|
2017-09-14 09:07:04 -06:00
|
|
|
|
2018-09-11 15:54:48 -06:00
|
|
|
RUN apk --no-cache add \
|
2019-03-21 13:46:21 -06:00
|
|
|
freetype-dev \
|
2019-02-27 15:05:52 -07:00
|
|
|
gcc \
|
|
|
|
musl-dev \
|
|
|
|
jpeg-dev \
|
|
|
|
zlib-dev \
|
|
|
|
&& \
|
2019-03-21 11:18:14 -06:00
|
|
|
pip3 install \
|
|
|
|
scapy==2.4.2 \
|
2019-07-05 17:53:46 -06:00
|
|
|
pillow==5.4.1 \
|
|
|
|
PyYAML==5.1.1
|
2019-03-21 11:18:14 -06:00
|
|
|
|
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/
|
2020-01-29 17:03:07 -07:00
|
|
|
COPY LICENSE.md /LICENSE
|
2017-09-11 10:12:22 -06:00
|
|
|
|
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" ]
|