Skip to content

Conversation

@giuseppeambrosio97
Copy link
Contributor

@giuseppeambrosio97 giuseppeambrosio97 commented Nov 8, 2025

Description

  • add healtch check endpoint (to be used in docker compose to check availability)
  • add docker
  • fix installation makefile command using uv interface (since in the repo is used uv.lock)

Related Issue

Closes #14

Checklist

  • Code follows project style guidelines
  • Comments explain "why" not "what"
  • Documentation updated (if needed)
  • No debug code or console statements
  • make format passes
  • make pre-merge passes
  • PR update from develop branch
  • Copilot review run and addressed

…tation

- Introduced Dockerfile for building the backend and frontend applications.
- Added docker-compose.yml for service orchestration and environment configuration.
- Created .dockerignore to exclude unnecessary files from Docker context.
- Documented Docker setup and usage in DOCKER.md for easy reference.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds Docker containerization support to the DataGenFlow application with multi-stage builds for optimized production deployment.

  • Introduces a multi-stage Dockerfile that builds backend with Python 3.10 and frontend with Node 20
  • Adds docker-compose configuration with health checks and volume mounts for data persistence and custom blocks
  • Updates Makefile install commands to use uv sync instead of uv pip install
  • Adds a /health endpoint for container health monitoring

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
Dockerfile Multi-stage build with Python backend, Node frontend, and bytecode compilation
docker-compose.yml Service definition with volume mounts, health checks, and restart policy
app.py Adds health check endpoint at /health
Makefile Updates install commands to use uv sync
DOCKER.md Documentation for Docker setup and usage
.dockerignore Excludes unnecessary files from Docker build context

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nicofretti
Copy link
Owner

GG!

@nicofretti nicofretti merged commit 967293c into nicofretti:develop Nov 10, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants