CoolFace
Apppublic

Dellano-Samuel/DevifyX-Assignment

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile19 linesDownload Raw Back to root
1FROM python:3.92 3RUN apt-get update && apt-get install -y \4    python3-opencv \5    && rm -rf /var/lib/apt/lists/*6 7RUN useradd -m -u 1000 user8USER user9ENV PATH="/home/user/.local/bin:$PATH"10 11WORKDIR /app12 13# Copy requirements file first (for better caching)14COPY --chown=user ./requirements.txt requirements.txt15RUN pip install --no-cache-dir --upgrade -r requirements.txt16COPY --chown=user . /app17 18# Run the application19CMD ["python", "app.py"]