karthikmn's picture
Update Docker/dockerfile
f5a6106 verified
raw
history blame contribute delete
398 Bytes
# 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"]