FROM python:3.10-slim-bullseye WORKDIR /usr/src/app RUN apt-get update && apt-get install libmagic-dev curl -y COPY . . RUN pip install --no-cache-dir -r requirements.txt ENV CONFIG_FILE=/data/config.yaml VOLUME /data WORKDIR /data EXPOSE 5000 CMD [ "python", "/usr/src/app/pnut-matrix.py", "-d" ]