notescriber/dockerfile

15 lines
350 B
Plaintext

FROM python:3.9.18-bookworm
RUN mkdir /app
COPY notescriber /app/notescriber
COPY notescriber.py /app/notescriber.py
COPY requirements.txt /app/requirements.txt
COPY .config.yaml /app/.config.yaml
COPY load_model.py /app/load_model.py
WORKDIR /app
RUN pip install -r requirements.txt
RUN /app/load_model.py
RUN apt update && apt install -y ffmpeg