klafirc/Dockerfile
2018-08-02 16:04:59 +02:00

10 lines
244 B
Docker

FROM python:3
ENV PYTHONUNBUFFERED 1
RUN mkdir /var/log/klafirc
RUN mkdir /etc/klafirc
RUN mkdir /klafirc
ADD . /klafirc
RUN cp /klafirc/bots.yaml /etc/klafirc
WORKDIR /klafirc
RUN pip install -r requirements.txt
CMD sleep 5; python -m klafirc