Skip to content

feat: add Docker configuration files for development and production e… - #38

Merged
kirito666coder merged 1 commit into
mainfrom
dev
Jul 11, 2026
Merged

feat: add Docker configuration files for development and production e…#38
kirito666coder merged 1 commit into
mainfrom
dev

Conversation

@kirito666coder

@kirito666coder kirito666coder commented Jul 11, 2026

Copy link
Copy Markdown
Owner

…nvironments

Summary by CodeRabbit

  • New Features

    • Added Docker-based development and production setups for running the web application.
    • Added support for standalone production builds.
    • Development containers support live project mounting and the development server.
    • Production containers automatically restart unless explicitly stopped.
  • Chores

    • Excluded local, generated, and sensitive files from Docker build contexts.

@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog-web Building Building Preview, Comment Jul 11, 2026 2:11pm

@kirito666coder
kirito666coder merged commit 101b189 into main Jul 11, 2026
2 of 3 checks passed
@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9fd82af4-80f7-4aae-95e6-af78899931f9

📥 Commits

Reviewing files that changed from the base of the PR and between b556c92 and 7c36d0d.

📒 Files selected for processing (6)
  • .dockerignore
  • compose.dev.yml
  • compose.prod.yml
  • web/Dockerfile
  • web/Dockerfile.dev
  • web/next.config.ts

📝 Walkthrough

Walkthrough

Added Docker and Docker Compose configurations for development and production Next.js execution, including standalone output, pnpm-based images, volume mounts, environment wiring, port exposure, restart behavior, and Docker build-context exclusions.

Changes

Container runtime setup

Layer / File(s) Summary
Production image and build context
.dockerignore, web/next.config.ts, web/Dockerfile
Docker build context exclusions, standalone Next.js output, and a Node.js 22 Alpine production image are configured with frozen dependency installation, application build, and pnpm start.
Development container workflow
web/Dockerfile.dev, compose.dev.yml
A Node.js 22 Alpine development image and Compose service are added with source mounts, isolated node_modules volumes, port 3000, development environment settings, and pnpm dev.
Production Compose wiring
compose.prod.yml
A production web service is configured with the production Dockerfile, environment file, port 3000, fixed container name, and unless-stopped restart policy.

Estimated code review effort: 2 (Simple) | ~10 minutes

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant