Repository navigation
Add Docker and development container support - #2
Merged
maazghani merged 6 commits intoAug 1, 2026
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
Author
|
@copilot create a GitHub action to test just that the Dockerfile build works |
Co-authored-by: maazghani <5009288+maazghani@users.noreply.github.com>
Co-authored-by: maazghani <5009288+maazghani@users.noreply.github.com>
Contributor
Added |
…ckerfile-and-dev-container-2026-07-28' into maazghani/create-dockerfile-and-dev-container-2026-07-28
This branch was successfully deployed
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.
Motivation
nodeandpnpmversions and usingpnpmwith a frozen lockfile.Description
Dockerfilewithbase,dependencies,development,builder, and non-rootrunnerstages that pinsNODE_VERSIONandPNPM_VERSION, installs dependencies withpnpm --frozen-lockfile, builds the app, and runs the Next.js standalone output..dockerignorethat excludes.git,.next,node_modules,.devcontainer, and environment files to keep the build context small..devcontainer/devcontainer.jsonthat reuses theDockerfiledevelopmenttarget, setsworkspaceFolder, forwards port3000, runspnpm install --frozen-lockfileinpostCreateCommand, and suggests VS Code extensions.output: "standalone"innext.config.mjsand updateREADME.mdwith Docker and Dev Container usage instructions.Testing
git diff --checkwhich reported no index issues and passed.python -m json.tool .devcontainer/devcontainer.json, which succeeded.pnpm lint, which failed because the repository does not include the ESLint flat config required by ESLint v10.pnpm build, which progressed to the Next.js build but failed because Next could not fetch Google Fonts (Turbopack errors) in this environment.Codex Task