sonson0910/engineering-drawing-detection
0
1FROM python:3.9-slim2 3# Install system dependencies for OpenCV and Paddle4RUN apt-get update && apt-get install -y \5 libgl1 \6 libglib2.0-0 \7 && rm -rf /var/lib/apt/lists/*8 9WORKDIR /app10 11# Copy requirements first to leverage Docker cache12COPY requirements.txt .13 14# Install dependencies15RUN pip install --no-cache-dir -r requirements.txt16 17# Copy the rest of the application18COPY . .19 20# Expose Streamlit port21EXPOSE 850122 23# Command to run Streamlit24CMD ["streamlit", "run", "src/web/app.py", "--server.port=8501", "--server.address=0.0.0.0"]25 