Dockerfile 326 Bytes
Newer Older
Matteo Spanio's avatar
Matteo Spanio committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"]