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
| # --- STAGE 1: BASE --- | |
| # Setup OS and Package Manager (pnpm) | |
| FROM mcr.microsoft.com/devcontainers/javascript-node:24-bookworm AS base | |
| # Install system deps for native modules (sharp, etc.) | |
| RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ | |
| --mount=type=cache,target=/var/lib/apt,sharing=locked \ | |
| apt-get update && export DEBIAN_FRONTEND=noninteractive \ | |
| && apt-get install -y --no-install-recommends \ | |
| git curl ca-certificates openssl bash-completion \ |
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
Show hidden characters
| { | |
| "name": "cornwall-ponds-dev", | |
| "build": { "dockerfile": "Dockerfile", "context": "..", "target": "dev" }, | |
| "remoteUser": "node", | |
| "features": { | |
| "ghcr.io/devcontainers/features/github-cli:1": {} | |
| }, | |
| "containerEnv": { | |
| // Alchemy + Wrangler: Cloudflare API (set on the host or in CI) | |
| "CLOUDFLARE_ACCOUNT_ID": "${localEnv:CLOUDFLARE_ACCOUNT_ID}", |
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
| # --- Dependency directories (Let Docker install these fresh) --- | |
| node_modules | |
| **/node_modules | |
| .pnpm-store | |
| # --- Build outputs & Tooling Caches --- | |
| dist | |
| .next | |
| .turbo | |
| .turbo/cache |