CoolFace
Apppublic

VietCat/TrafficSignDetector

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
Dockerfile19 linesDownload Raw Back to root
1FROM python:3.9-slim2 3WORKDIR /app4 5# Copy requirements first to leverage Docker cache6COPY requirements.txt .7RUN pip install --no-cache-dir -r requirements.txt && \8    pip install --no-cache-dir --force-reinstall opencv-python-headless==4.9.0.80 && \9    pip install --no-cache-dir --force-reinstall numpy==1.24.310 11# Copy application files12COPY app.py model.py config.yaml .13 14# Expose the port that Gradio uses15EXPOSE 786016 17# Run the application18CMD ["python", "app.py"]19