Add docker image

This commit is contained in:
Ben 2020-04-19 23:45:29 +01:00
parent 4831658b3f
commit e58f00171c

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM python:3-alpine
RUN apk add build-base openssl-dev libffi-dev
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV server "login"
CMD ["sh", "-c", "python ./bootstrap.py ${server}"]