File size: 611 Bytes
8575608
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Base image set karein jo Python 3.10 par hai
FROM python:3.10

# Working directory set karein
WORKDIR /app

# Local files ko container mein copy karein
COPY . .

# Linux packages install karein
RUN apt-get update && \
    apt-get install -y ffmpeg

# Python dependencies install karein
RUN pip install --no-cache-dir -r requirements.txt && \
    pip install PyAudio==0.2.14

# Server aur Streamlit app run karne ke liye commands
CMD ["bash", "-c", "python3 server.py --ip '0.0.0.0' --port 60808 & API_URL=http://0.0.0.0:60808/chat streamlit run webui/omni_streamlit.py --server.port=8501"]