File size: 529 Bytes
6a2e926
 
044a0c8
6a2e926
044a0c8
 
6a2e926
 
044a0c8
6a2e926
044a0c8
6a2e926
044a0c8
6a2e926
 
044a0c8
6a2e926
044a0c8
 
6a2e926
27468f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Base image with Python
FROM python:3.10-slim

# Set working directory
WORKDIR /app

# Install OS-level dependencies
RUN apt-get update && apt-get install -y ffmpeg git && rm -rf /var/lib/apt/lists/*

# Copy app code and requirements
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

# Copy the rest of your project files
COPY . .

# Expose Streamlit default port
EXPOSE 8501

# Command to run your Streamlit app
CMD ["streamlit", "run", "src/app.py", "--server.port=8501", "--server.address=0.0.0.0"]