CoolFace
Apppublic

throttlectrl/moneymaker

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
Dockerfile23 linesDownload Raw Back to root
1# Use a lightweight Python base image2FROM python:3.10-slim3 4# Ensure output is logged immediately5ENV PYTHONUNBUFFERED=16 7# Set working dir8WORKDIR /app9 10# Copy and install dependencies first (leverages layer caching)11COPY requirements.txt .12RUN pip install --upgrade pip && \13    pip install --no-cache-dir -r requirements.txt14 15# Copy the rest of your app code16COPY . .17 18# Expose Streamlit’s default port19EXPOSE 850120 21# Run the Streamlit app22CMD ["streamlit", "run", "app.py", "--server.port", "8501", "--server.address", "0.0.0.0"]23