File size: 492 Bytes
8ba1a89
9d72ec7
 
8ba1a89
9d72ec7
 
8ba1a89
9d72ec7
 
8ba1a89
9d72ec7
 
 
 
 
 
8ba1a89
9d72ec7
 
8ba1a89
9d72ec7
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM python:3.8

# Expose port 8501
EXPOSE 8501

# Set working directory
WORKDIR /app

# Copy requirements file
COPY requirements.txt ./requirements.txt

# Install system dependencies
RUN apt-get update && \
    apt-get install -y ffmpeg libsm6 libxext6

# Install Python dependencies
RUN pip3 install -r requirements.txt

# Copy the application code
COPY . .

# Set the PORT environment variable
ENV PORT=8501

# Command to run the Streamlit app
CMD streamlit run --server.port $PORT app.py