Spaces:
Sleeping
Sleeping
File size: 410 Bytes
6f6cd40 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# Use official Python slim image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy requirements and install
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Copy app files
COPY . .
# Expose port Streamlit uses
EXPOSE 8501
# Run Streamlit app
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|