add Dockerfile

This commit is contained in:
Milka64 2020-04-25 21:07:02 +02:00
parent cb4ed715b3
commit ba4d1cf115

14
Dockerfile Normal file
View file

@ -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