CoolFace
Apppublic

yashk14/MLOPS

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile27 linesDownload Raw Back to root
1# Use official Python base image2FROM python:3.10-slim3 4# Set working directory5WORKDIR /app6 7# Copy requirements8COPY requirements.txt .9 10# Install dependencies11RUN pip install --no-cache-dir -r requirements.txt12 13# Copy all project files14COPY . .15 16# Expose Streamlit port17EXPOSE 850118 19# Set environment variables to allow external access20ENV PYTHONUNBUFFERED=1 \21    STREAMLIT_SERVER_HEADLESS=true \22    STREAMLIT_SERVER_PORT=8501 \23    STREAMLIT_SERVER_ADDRESS=0.0.0.024 25# Run the Streamlit app26CMD ["streamlit", "run", "app.py"]27