klafytg/Dockerfile

11 lines
244 B
Text
Raw Permalink Normal View History

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