FROM python:3 VOLUME /data WORKDIR /usr/src/app COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt COPY . . WORKDIR /data EXPOSE 5000/tcp CMD [ "python", "/usr/src/app/pnut-matrix.py", "-d" ]