1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-07 20:41:05 -07:00
moth/Dockerfile.moth-devel
2019-02-27 22:05:52 +00:00

17 lines
362 B
Text

FROM python:3.7.2-alpine3.9
RUN apk --no-cache add \
gcc \
musl-dev \
jpeg-dev \
zlib-dev \
&& \
pip3 install pillow
COPY devel /app/
COPY example-puzzles /puzzles/
COPY theme /theme/
WORKDIR /moth/
ENTRYPOINT [ "python3", "/app/devel-server.py" ]
CMD [ "--bind", "0.0.0.0:8080", "--puzzles", "/puzzles", "--theme", "/theme" ]