FROM python:3.12.13-bookworm WORKDIR /app # Copy project COPY . . # Expose the Gradio/WebUI port (default 7860 for Drag GAN) EXPOSE 7860 # Install Python dependencies RUN python -m pip install --no-cache-dir -r requirements.txt # Install the package in editable mode so it is importable at runtime RUN python -m pip install --no-cache-dir -e . # Run the web app by default CMD ["bash", "start.sh"]