19 lines
359 B
Docker
19 lines
359 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
|
|
|
|
RUN pip install --upgrade pip
|
|
RUN pip install .
|
|
|
|
CMD ["streamlit", "run", "src/annescribe/webapp_main.py"] |