Spaces:
Sleeping
Sleeping
File size: 357 Bytes
a2d9f84 03da4c5 a2d9f84 03da4c5 a2d9f84 03da4c5 a2d9f84 03da4c5 a2d9f84 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # Use Hugging Face Space minimal image
FROM python:3.10-slim
WORKDIR /app
# Copy files
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose Streamlit port
ENV PORT 8501
ENV STREAMLIT_SERVER_ENABLECORS "false"
CMD ["streamlit", "run", "streamlit_app.py", "--server.port", "8501", "--server.address", "0.0.0.0"]
|