diff options
Diffstat (limited to 'deploy/Dockerfile.dev')
-rw-r--r-- | deploy/Dockerfile.dev | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/deploy/Dockerfile.dev b/deploy/Dockerfile.dev new file mode 100644 index 0000000..7fa7af0 --- /dev/null +++ b/deploy/Dockerfile.dev @@ -0,0 +1,19 @@ +FROM python:3-alpine + +RUN apk add gcc g++ musl-dev make bash python3-dev zlib-dev jpeg-dev + +# pip installations are slow, so separate them to cache +RUN pip3 install sanic +RUN pip3 install jinja2-sanic +RUN pip3 install requests +RUN pip3 install asyncpg +RUN pip3 install Pillow + + +RUN mkdir /usr/src/app + +WORKDIR /usr/src/app + +EXPOSE 80 + +CMD ["python", "run.py"] |