CoolFace
Apppublic

TrueDFS/NFL_Betting_Models_Origin

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile33 linesDownload Raw Back to root
1FROM python:3.13.5-slim2 3WORKDIR /app4 5RUN apt-get update && apt-get install -y \6    build-essential \7    curl \8    software-properties-common \9    git \10    && rm -rf /var/lib/apt/lists/*11 12COPY requirements.txt ./13COPY src/ ./src/14COPY .streamlit/ ./.streamlit/15 16 17 18ENV MONGO_URI="mongodb+srv://multichem:Xr1q5wZdXPbxdUmJ@testcluster.lgwtp5i.mongodb.net/?retryWrites=true&w=majority&appName=TestCluster"19RUN useradd -m -u 1000 user20USER user21ENV HOME=/home/user\22	PATH=/home/user/.local/bin:$PATH23WORKDIR $HOME/app24RUN pip install --no-cache-dir --upgrade pip25COPY --chown=user . $HOME/app26 27RUN pip3 install -r requirements.txt28 29EXPOSE 850130 31HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health32 33ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]