asmithaaa's picture
Update Dockerfile
0a19276 verified
raw
history blame contribute delete
465 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
ffmpeg \
libgl1 \
&& rm -rf /var/lib/apt/lists/*
# Copy all files
COPY . .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose Streamlit port
EXPOSE 8501
# Run Streamlit app
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]