Spaces:
Sleeping
Sleeping
File size: 448 Bytes
f86120e 44a1e2b f86120e 2e0de6b 7af6fa9 f86120e 44a1e2b 2e0de6b f86120e 2e0de6b 44a1e2b f86120e 6c432bd dc7794d 44a1e2b dc7794d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
gcc \
g++ \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements
COPY requirements.txt .
# Install Python packages
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Copy app
COPY streamlit_app.py .
EXPOSE 7860
CMD ["streamlit", "run", "streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|