File size: 345 Bytes
293ab16
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM python:3.10-slim

WORKDIR /app

COPY . /app

RUN apt-get update && apt-get install -y build-essential ffmpeg git && \
    pip install --no-cache-dir -r requirements.txt

EXPOSE 8000 8501

CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 8000 & streamlit run frontend/streamlit_app.py --server.port 8501 --server.address 0.0.0.0"]