From e58f00171c8ce2d87b6ced215eba7e820a63f072 Mon Sep 17 00:00:00 2001 From: Ben Date: Sun, 19 Apr 2020 23:45:29 +0100 Subject: [PATCH] Add docker image --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..111af78 --- /dev/null +++ b/Dockerfile @@ -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}"] \ No newline at end of file