klafytg/Dockerfile
2020-02-11 17:07:24 +00: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