Files

20 lines
391 B
Docker

FROM python:3.10.16
# set env variables for python
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
# install ffmpeg
RUN apt-get update && apt-get install -y ffmpeg
# set work directory
WORKDIR /app
COPY pyproject.toml /app/
COPY src/ /app/src
COPY config.yml /app/config.yml
RUN pip install --upgrade pip
RUN pip install .
CMD ["streamlit", "run", "src/annescribe/webapp_main.py"]