Spaces:
Sleeping
Sleeping
File size: 407 Bytes
9e3c899 3372d59 9e3c899 3372d59 9e3c899 3372d59 9e3c899 7b6f3a9 9e3c899 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ ./src/
EXPOSE 8501
# No curl installed, so drop the HEALTHCHECK or rewrite it
# HEALTHCHECK NONE
ENV HOME=/app
ENV STREAMLIT_HOME=/app/.streamlit
RUN mkdir -p /app/.streamlit
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"] |