File size: 548 Bytes
63260fd ef777f9 fe349f6 ef777f9 5073f15 abfde28 ef777f9 2e5058d 63260fd abfde28 ef777f9 abfde28 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
COPY requirements.txt ./
COPY *.py ./
COPY pages/ ./pages/
COPY .streamlit/ ./.streamlit/
RUN pip3 install --no-cache-dir -r requirements.txt
ENV STREAMLIT_GLOBAL_METRICS=false
ENV STREAMLIT_GLOBAL_DEVELOPMENT_MODE=false
ENV STREAMLIT_SERVER_HEADLESS=true
EXPOSE 8501
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--global.developmentMode=false", "--browser.gatherUsageStats=false"] |