mirror of https://github.com/dirtbags/moth.git
17 lines
308 B
Docker
17 lines
308 B
Docker
FROM alpine:3.8
|
|
|
|
RUN apk --no-cache add \
|
|
gcc \
|
|
musl-dev \
|
|
python3 \
|
|
python3-dev \
|
|
py3-pillow \
|
|
&& \
|
|
pip3 install aiohttp
|
|
|
|
COPY . /moth/
|
|
COPY example-puzzles /puzzles/
|
|
|
|
WORKDIR /moth/
|
|
ENTRYPOINT ["python3", "/moth/devel/devel-server.py", "--bind", ":8080", "--puzzles", "/puzzles"]
|