summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..8489469
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,17 @@
+FROM python:3.7-alpine
+
+WORKDIR /app
+COPY . .
+
+RUN apk add --update --no-cache --virtual .build-deps \
+ openssl-dev \
+ g++ \
+ libffi-dev && \
+ apk add --update --no-cache \
+ tzdata \
+ git && \
+ pip install --no-cache-dir -r requirements.txt && \
+ apk del .build-deps && \
+ rm -rf /var/cache/apk/*
+
+CMD [ "python3", "bot.py" ] \ No newline at end of file