CoolFace
Apppublic

Rsikka21/ComputerVision

sourceHugging Faceupdated 11mo agoView on Hugging Face
0likes
Dockerfile20 linesDownload Raw Back to root
1# Use a base image with Python2FROM python:3.9-slim-buster3 4# Set the working directory5WORKDIR /app6 7# Copy requirements.txt and install dependencies8COPY requirements.txt .9RUN pip install --no-cache-dir -r requirements.txt10 11# Copy the Streamlit app and the upload directory12COPY app.py .13# COPY uploaded_files/ ./uploaded_files/  # Ensure this directory exists if you want to persist uploads14 15# Expose the port Streamlit runs on16EXPOSE 850117 18# Command to run the Streamlit app19CMD ["streamlit", "run", "app.py", "--server.port", "8501", "--server.address", "0.0.0.0"]20