Spaces:
Running
Running
File size: 361 Bytes
4adef30 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# Use a small Python base image
FROM python:3.12-slim
WORKDIR /app
# Copy and install dependencies
COPY requirements.txt .
RUN pip install --upgrade pip && \
pip install -r requirements.txt
# Copy all project files
COPY . .
# Expose Streamlit port and run
EXPOSE 8501
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|