Spaces:
Build error
Build error
| # Use a Python base image | |
| FROM python:3.10-slim | |
| # Install system dependencies for FreeCAD | |
| RUN apt-get update && apt-get install -y \ | |
| freecad \ | |
| && apt-get clean | |
| # Install Python dependencies | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r /app/requirements.txt | |
| # Copy application code | |
| COPY . /app | |
| WORKDIR /app | |
| # Run the application | |
| CMD ["python", "app.py"] | |