From ba4d1cf115349215394dbb19857ba75e0e541719 Mon Sep 17 00:00:00 2001 From: Milka64 Date: Sat, 25 Apr 2020 21:07:02 +0200 Subject: [PATCH] add Dockerfile --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..083cc20 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM alpine + +WORKDIR /app +VOLUME /data + +RUN apk add --update musl-dev python3-dev gcc python3 py3-pip git py3-lxml libxml2 libxml2-dev py3-pynacl\ +&& pip3 install --upgrade pip \ +&& pip3 install bs4 requests giphy_client discord.py python-gitlab\ +&& git clone https://git.0w.tf/Milka64/kabot.git +WORKDIR /app/kabot +RUN python3 bootstrap-buildout.py \ +&& bin/buildout + +CMD bin/kabot