FROM python:3.8.11-slim
ENV DOCKER_KASSOUBOT=True
WORKDIR /opt
COPY requirements.txt .
RUN apt update && \
apt install git -y && \
pip install -r requirements.txt && \
apt purge git -y
COPY README.md .
COPY src .
CMD ["python", "-u", "./main.py"]