Spaces:
Sleeping
Sleeping
File size: 398 Bytes
5cc11aa 1d841c9 5cc11aa 26af616 1d841c9 5cc11aa 1d841c9 5cc11aa 1d841c9 5cc11aa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
FROM python:3.11-slim
WORKDIR /app
# Copy app and requirements
COPY app.py ./app.py
COPY requirements.txt ./requirements.txt
# Install dependencies
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 8501
ENV STREAMLIT_SERVER_PORT=8501
ENV STREAMLIT_SERVER_HEADLESS=true
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.enableCORS=false"]
|