Draft
Conversation
- Add production Dockerfile for web-ui with multi-stage build - Add development Dockerfile for hot-reload support - Add docker-compose.yml for production deployment - Add docker-compose.dev.yml for development environment - Add nginx configuration for serving React app - Add .dockerignore for optimized builds - Add .env.example for environment variables - Update README files with Docker instructions Co-authored-by: samuelmr <2461240+samuelmr@users.noreply.github.com>
- Update Dockerfile.dev with npm timeout configuration - Simplify docker-compose.dev.yml to mount only source files - Test and verify both production and development environments work - Production: web-ui on port 3000, PostgreSQL on port 5432 - Development: web-ui with hot-reload on port 5173, PostgreSQL on port 5432 Co-authored-by: samuelmr <2461240+samuelmr@users.noreply.github.com>
- Create DOCKER.md with comprehensive setup guide - Document production and development modes - Include quick start instructions - Add troubleshooting section - Document architecture and file structure Co-authored-by: samuelmr <2461240+samuelmr@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Docker setup for unified local development
Add Docker setup for unified local development
Feb 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements containerized development environment supporting single-command launch of frontend and database services, with separate production and development configurations.
Production Setup
Multi-stage Dockerfile builds React app with Node.js 20, serves via nginx:
npm install→npm run build→/app/distExposed as port 3000 in
docker-compose.ymlDevelopment Setup
Vite dev server with hot-reload on port 5173:
src/,public/, config files)node_modulesto avoid re-install on container startDatabase
PostgreSQL 15 included for future backend integration:
postgres-datapg_isready)DB_PASSWORDenvironment variablenpm Timeout Handling
Build reliability achieved through fetch timeout configuration:
RUN npm config set fetch-retry-maxtimeout 120000 && \ npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-timeout 300000 && \ npm installUsage
Documentation added to README.md, web-ui/README.md, and DOCKER.md.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
127.0.0.11REDACTED, pid is -1(packet block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.