File size: 398 Bytes
20338fd
 
 
f5a6106
20338fd
f5a6106
20338fd
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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"]