10 lines
244 B
Docker
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
|