From c0599c839de3528e32a4333f42b69669d098e063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Tue, 21 Aug 2018 20:00:00 +0200 Subject: [PATCH] Add Dockerfile --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..407da2c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM python:alpine + +WORKDIR /bot +COPY . . +RUN touch settings.cfg + +RUN pip install --no-cache-dir --requirement requirements.txt + +USER nobody:nogroup + +ENTRYPOINT ["python", "bot.py"]