FROM matteospanio/poetry:latest LABEL maintainer="Matteo Spanio" WORKDIR /app ENV TF_CPP_MIN_LOG_LEVEL=2 COPY . ./ RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y RUN poetry install --no-cache --only main VOLUME [ "/data" ] CMD ["poetry", "run", "python", "src/tape_irregularity_classifier/server.py"]