Skip to content

Add Dockerfile and Docker Compose for containerized deployment#69

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/add-dockerfile-to-project
Draft

Add Dockerfile and Docker Compose for containerized deployment#69
Copilot wants to merge 3 commits intomainfrom
copilot/add-dockerfile-to-project

Conversation

Copy link

Copilot AI commented Mar 17, 2026

Adds container support to enable consistent development and deployment environments.

Changes

  • Dockerfilepython:3.12-slim base; upgrades pip, installs deps, sets PYTHONPATH=/app/include for local packages (ez, sandbox, utilities), exposes port 8000, and launches via python -m core.startup --host 0.0.0.0 --port 8000
  • requirements.txt — pinned minimum versions for all third-party runtime deps: starlette, uvicorn[standard], pydantic>=2.0, sqlalchemy>=2.0, pyyaml, python-seamless, watchfiles
  • .dockerignore — excludes .venv, __pycache__, .git, lib/, bin/, and build artefacts
  • docker-compose.yml — defines a web service that builds from the local Dockerfile, maps port 8000, mounts the project root as a volume for live code changes, and sets PYTHONPATH

Usage

docker build -t ez-web .
docker run -p 8000:8000 ez-web

Or with Docker Compose:

docker compose up

To serve a specific site directory, mount it and pass the path:

docker run -p 8000:8000 -v /path/to/site:/site ez-web \
  python -m core.startup /site --host 0.0.0.0 --port 8000
Original prompt

This section details on the original issue you should resolve

<issue_title>Add Dockerfile to project</issue_title>
<issue_description>## Summary
Add a Dockerfile to the xpodev/ez-web repository to enable containerized development and deployment.

</issue_description>

Comments on the Issue (you are @copilot in this section)


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Co-authored-by: binyamin555 <42520501+binyamin555@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Dockerfile to enable containerized development and deployment Add Dockerfile for containerized deployment Mar 17, 2026
Copilot AI requested a review from binyamin555 March 17, 2026 21:25
@binyamin555
Copy link
Member

@copilot how about a compose file?

Co-authored-by: binyamin555 <42520501+binyamin555@users.noreply.github.com>
Copy link
Author

Copilot AI commented Mar 17, 2026

@copilot how about a compose file?

Added in commit 7991fb2. You can now start the app with:

docker compose up

Copilot AI changed the title Add Dockerfile for containerized deployment Add Dockerfile and Docker Compose for containerized deployment Mar 17, 2026
@binyamin555
Copy link
Member

@neriyaco we need to verify this works

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.

Add Dockerfile to project

2 participants