Spaces:
Sleeping
Sleeping
File size: 344 Bytes
836ede6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
# Make port configurable via environment variable
ENV PORT=8501
EXPOSE ${PORT}
# Use the correct path to app.py and make port configurable
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=${PORT}", "--server.address=0.0.0.0"]
|