Spaces:
Running
Running
File size: 416 Bytes
a6576f0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# Use the official lightweight Python image
FROM python:3.12-slim
# Set working directory
WORKDIR /app
# Copy and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy your Streamlit app
COPY . .
# Expose Streamlit’s default port
EXPOSE 8502
# Launch the app
ENTRYPOINT ["streamlit", "run", "frontend/app.py", "--server.port=8502", "--server.address=0.0.0.0"]
|