File size: 449 Bytes
a91031e 9467ab0 3ead41e 9467ab0 cc88c0c 9467ab0 cc88c0c 3ead41e d7220d1 9467ab0 3ead41e d7220d1 9467ab0 3ead41e a91031e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | FROM python:3.11.8
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
libgl1 \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
# Upgrade pip
RUN pip install --upgrade pip
# Copy files
COPY requirements.txt .
COPY app.py .
# Install packages
RUN pip install --no-cache-dir -r requirements.txt
# Run Streamlit
CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"] |