2020-04-25 21:07:02 +02:00
|
|
|
FROM alpine
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
VOLUME /data
|
|
|
|
|
2021-01-06 20:33:16 +01:00
|
|
|
RUN apk add --update musl-dev python3-dev gcc python3 py3-pip git py3-lxml libxml2 libxml2-dev py3-pynacl ffmpeg\
|
2020-04-25 21:07:02 +02:00
|
|
|
&& 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
|
2021-01-06 20:33:16 +01:00
|
|
|
RUN pip3 install kabot/
|
|
|
|
RUN mkdir -p /var/log/kabot/
|
|
|
|
RUN chmod 777 /var/log/kabot
|
|
|
|
CMD kabot -c /data/config.ini
|