vuejs-vue
SUCCESS
31m 52s
History Source
SummaryIterations1Transcript24Dockerfile
01Iteration 1
WRITEWriteFile· step #1
0s
Dockerfile738 bytes written
text26 lines · 738 chars
FROM ubuntu:jammy-20260210.1

# Basic non-interactive environment
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies and Node.js 18, then pnpm
RUN apt-get update \
  && apt-get install -y --no-install-recommends ca-certificates curl gnupg \
  && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
  && apt-get install -y --no-install-recommends nodejs \
  && npm install -g pnpm@8.9.2 \
  && rm -rf /var/lib/apt/lists/*

# Work directory for the repository
WORKDIR /workspace

# Copy the entire repository
COPY . .

# Install dependencies and build from source
RUN pnpm install
RUN pnpm run build

# Keep the container running (no specific server is defined for this repo)
CMD ["bash", "-lc", "tail -f /dev/null"]
WRITEWriteFile· step #2
0s
.dockerignore95 bytes written
dockerignore11 lines · 95 chars
.git
node_modules
dist
coverage
*.log
.DS_Store
*.md
.npmrc
pnpm-lock.yaml
pnpm-workspace.yaml
VERIFYVerifyBuild· step #3
2m 20s
VerifyBuildbuild_failed
Build error
Failing command/step:
- RUN pnpm install (Dockerfile step [5/6]); exit code: 1

Exact error message and exit code:
- ERR_PNPM_WORKSPACE_PKG_NOT_FOUND In : "@vue/compiler-sfc@workspace:*" is in the dependencies but no package named "@vue/compiler-sfc" is present in the workspace
- This error happened while installing a direct dependency of /workspace
- Exit code: 1

Missing packages/files mentioned:
- The workspace declares "@vue/compiler-sfc@workspace:*" as a dependency, but there is no package named "@vue/compiler-sfc" present in the workspace.

Version mismatch / compatibility info:
- Node.js 18.x is deprecated: “Node.js 18.x is no longer actively supported!” (NodeSource distribution banner shown)
- Node.js version installed: nodejs 18.20.8 (from NodeSource)
- PNPM update available: “Update available! 8.9.2 → 10.32.1” (pnpm banner shown during install)

Additional notes:
- The error occurred during installation of workspace dependencies, before any build step (pnpm run build) could run.
WRITEWriteFile· step #4
0s
Dockerfile1042 bytes written
text31 lines · 1042 chars
FROM ubuntu:jammy-20260210.1

# Basic non-interactive environment
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies and Node.js 18, then pnpm
RUN apt-get update \
  && apt-get install -y --no-install-recommends ca-certificates curl gnupg \
  && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
  && apt-get install -y --no-install-recommends nodejs \
  && npm install -g pnpm@8.9.2 \
  && rm -rf /var/lib/apt/lists/*

# Work directory for the repository
WORKDIR /workspace

# Copy the entire repository
COPY . .

# Patch workspace reference to local file path to avoid missing workspace package during install
RUN if grep -q "\"@vue/compiler-sfc\": \"workspace:\\*\"" package.json; then \
      sed -i 's@"@vue/compiler-sfc": "workspace:\*"@"@vue/compiler-sfc": "file:./packages/compiler-sfc"@' package.json; \
  fi

# Install dependencies and build from source
RUN pnpm install
RUN pnpm run build

# Keep the container running (no specific server is defined for this repo)
CMD ["bash", "-lc", "tail -f /dev/null"]
WRITEWriteFile· step #5
0s
Dockerfile762 bytes written
text26 lines · 762 chars
FROM ubuntu:jammy-20260210.1

# Basic non-interactive environment
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies and Node.js 18, then pnpm
RUN apt-get update \
  && apt-get install -y --no-install-recommends ca-certificates curl gnupg build-essential python3 \
  && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
  && apt-get install -y --no-install-recommends nodejs \
  && npm install -g pnpm@8.9.2 \
  && rm -rf /var/lib/apt/lists/*

# Work directory for the repository
WORKDIR /workspace

# Copy the entire repository
COPY . .

# Install dependencies and build from source
RUN pnpm install
RUN pnpm run build

# Keep the container running (no specific server is defined for this repo)
CMD ["bash", "-lc", "tail -f /dev/null"]
VERIFYVerifyBuild· step #6
3m 24s
VerifyBuildbuild_failed
Build error
Summary:

- Failing step/command
  - Dockerfile step: [5/6] RUN pnpm install
  - Exit code: 1
  - Full failing message excerpt:
    - 1.891  ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In : "@vue/compiler-sfc@workspace:*" is in the dependencies but no package named "@vue/compiler-sfc" is present in the workspace
    - 1.891 
    - 1.891 This error happened while installing a direct dependency of /workspace
    - 1.891 
    - 1.891 Packages found in the workspace: 

- Immediate cause
  - Missing/absent workspace package: "@vue/compiler-sfc" referenced as a dependency but not present in the workspace.

- Missing packages or files mentioned
  - "@vue/compiler-sfc" is declared in dependencies but not found in the workspace.

- Version / mismatch information (available in log)
  - Node.js 18.x is installed via NodeSource; deprecation notice printed: "Node.js 18.x is no longer actively supported! You should migrate to a supported version of Node.js as soon as possible."
  - Node.js 18.20.8 installed (from the log).
  - PNPM update available: "Update available! 8.9.2 → 10.32.1" (not an error, but version mismatch info).
  - Additional deprecation warnings for packages (e.g., conventional-changelog-cli, rimraf, puppeteer) observed during install, but these are informational rather than root cause.

- Context
  - This error occurs during the build step that runs pnpm install, before the subsequent pnpm run build.
WRITEWriteFile· step #7
0s
Dockerfile1292 bytes written
text44 lines · 1292 chars
FROM ubuntu:jammy-20260210.1

# Basic non-interactive environment
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies and Node.js 18, then pnpm
RUN apt-get update \
  && apt-get install -y --no-install-recommends ca-certificates curl gnupg build-essential python3 \
  && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
  && apt-get install -y --no-install-recommends nodejs \
  && npm install -g pnpm@8.9.2 \
  && rm -rf /var/lib/apt/lists/*

# Work directory for the repository
WORKDIR /workspace

# Copy the entire repository
COPY . .

# Patch workspace reference to local file path to avoid missing workspace package during install
RUN python3 - <<'PY'
import json,sys
p='package.json'
with open(p) as f:
  j=json.load(f)
deps=j.get('dependencies',{})
val=deps.get('@vue/compiler-sfc')
if isinstance(val,str) and val.strip()=='workspace:*':
  deps['@vue/compiler-sfc']='file:./packages/compiler-sfc'
  j['dependencies']=deps
  with open(p,'w') as f:
    json.dump(j,f,indent=2)
  print('Patched package.json')
else:
  print('No patch needed')
PY

# Install dependencies and build from source
RUN pnpm install --frozen-lockfile
RUN pnpm run build

# Keep the container running (no specific server is defined for this repo)
CMD ["bash", "-lc", "tail -f /dev/null"]
VERIFYVerifyBuild· step #8
1m 38s
VerifyBuildbuild_failed
Build error
- Failing step/command:
  - [6/7] RUN pnpm install --frozen-lockfile

- Exact error message and exit code:
  - 0.944  ERR_PNPM_NO_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is absent
  - Exit code: 1
  - Note appears again: "ERROR: failed to build: failed to solve: process \"/bin/sh -c pnpm install --frozen-lockfile\" did not complete successfully: exit code: 1"

- Missing packages/files mentioned:
  - pnpm-lock.yaml is absent

- Version mismatch info:
  - No explicit version mismatch information provided. The log shows pnpm was installed globally as pnpm@8.9.2 earlier, but no mismatch is reported related to this error.

- Additional context in log:
  - Suggested workaround in CI: use "pnpm install --no-frozen-lockfile" if you need to run install without a lockfile.
WRITEWriteFile· step #9
0s
Dockerfile1349 bytes written
text44 lines · 1349 chars
FROM ubuntu:jammy-20260210.1

# Basic non-interactive environment
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies and Node.js 18, then pnpm
RUN apt-get update \
  && apt-get install -y --no-install-recommends ca-certificates curl gnupg build-essential python3 \
  && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
  && apt-get install -y --no-install-recommends nodejs \
  && npm install -g pnpm@8.9.2 \
  && rm -rf /var/lib/apt/lists/*

# Work directory for the repository
WORKDIR /workspace

# Copy the entire repository
COPY . .

# Patch workspace reference to local file path to avoid missing workspace package during install
RUN python3 - <<'PY'
import json,sys
p='package.json'
with open(p) as f:
  j=json.load(f)
deps=j.get('dependencies',{})
val=deps.get('@vue/compiler-sfc')
if isinstance(val,str) and val.strip()=='workspace:*':
  deps['@vue/compiler-sfc']='file:./packages/compiler-sfc'
  j['dependencies']=deps
  with open(p,'w') as f:
    json.dump(j,f,indent=2)
  print('Patched package.json')
else:
  print('No patch needed')
PY

# Install dependencies and build from source
RUN if [ -f pnpm-lock.yaml ]; then pnpm install; else pnpm install --no-frozen-lockfile; fi
RUN pnpm run build

# Keep the container running (no specific server is defined for this repo)
CMD ["bash", "-lc", "tail -f /dev/null"]
VERIFYVerifyBuild· step #10
2m 11s
VerifyBuildbuild_failed
Build error
Failing step
- Step: [7/7] RUN pnpm run build
- Dockerfile reference: Dockerfile:40

Exact error message and exit code
- Error: Cannot find module '@vue/consolidate/package.json'
- code: 'MODULE_NOT_FOUND'
- Require stack: /workspace/scripts/config.js, /workspace/scripts/build.js
- Node.js v18.20.8
- ELIFECYCLE  Command failed with exit code 1.

Failing command/step details
- Command: pnpm run build
- Context: Executed as the final build step in the Dockerfile (after pnpm install).

Missing packages or files mentioned
- Missing module: @vue/consolidate/package.json (module resolution failed during build)

Version mismatch / warnings observed
- pnpm update notice: Update available! 8.9.2 → 10.32.1
- Warnings about deprecated packages during install, e.g. conventional-changelog-cli@2.2.2, rimraf@3.0.2, puppeteer@14.4.1
- Additional dependency/version hints shown (e.g., esbuild, rollup, typescript) with newer versions available, but the critical issue is the missing @vue/consolidate/package.json.

Dockerfile context
- Last step invoking build: RUN pnpm run build (Dockerfile:40) leading to exit code 1 due to MODULE_NOT_FOUND.
WRITEWriteFile· step #11
0s
Dockerfile1073 bytes written
text31 lines · 1073 chars
FROM ubuntu:jammy-20260210.1

# Basic non-interactive environment
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies and Node.js 18, then pnpm
RUN apt-get update \
  && apt-get install -y --no-install-recommends ca-certificates curl gnupg build-essential python3 \
  && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
  && apt-get install -y --no-install-recommends nodejs \
  && npm install -g pnpm@8.9.2 \
  && rm -rf /var/lib/apt/lists/*

# Work directory for the repository
WORKDIR /workspace

# Copy the entire repository
COPY . .

# Create a minimal local workspace package to satisfy @vue/consolidate
RUN mkdir -p packages/consolidate && \
  printf '{"name":"@vue/consolidate","version":"0.0.0","main":"index.js","license":"MIT"}\n' > packages/consolidate/package.json && \
  printf 'module.exports = {};\n' > packages/consolidate/index.js

# Install dependencies and build from source
RUN pnpm install
RUN pnpm run build

# Keep the container running (no specific server is defined for this repo)
CMD ["bash", "-lc", "tail -f /dev/null"]
VERIFYVerifyBuild· step #12
52s
VerifyBuildbuild_failed
Build error
- Exact error message and exit code
  - ERROR: process "/bin/sh -c pnpm install" did not complete successfully: exit code: 1
  -  ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In : "@vue/compiler-sfc@workspace:*" is in the dependencies but no package named "@vue/compiler-sfc" is present in the workspace
  - This error happened while installing a direct dependency of /workspace

- Failing command/step
  - [6/7] RUN pnpm install (Dockerfile line 26)

- Missing packages or files mentioned
  - Missing workspace package: @vue/compiler-sfc (not present in the workspace)

- Version mismatch / warnings
  - Update available: 8.9.2 → 10.32.1 (pnpm)
  - deprecated conventional-changelog-cli@2.2.2: This package is no longer maintained
  - deprecated puppeteer@14.4.1: < 24.15.0 is no longer supported

Notes
- The error occurs while installing a direct dependency of /workspace, indicating a mismatch between dependencies and the workspace package set.
WRITEWriteFile· step #13
0s
Dockerfile644 bytes written
text26 lines · 644 chars
FROM ubuntu:jammy-20260210.1

# Non-interactive environment
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies and Node.js 18, then pnpm
RUN apt-get update \
  && apt-get install -y --no-install-recommends ca-certificates curl gnupg \
  && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
  && apt-get install -y --no-install-recommends nodejs \
  && npm install -g pnpm@8.9.2 \
  && rm -rf /var/lib/apt/lists/*

# Working directory
WORKDIR /workspace

# Copy source
COPY . .

# Install dependencies and build from source
RUN pnpm install
RUN pnpm run build

# Default command
CMD ["bash", "-lc", "tail -f /dev/null"]
VERIFYVerifyBuild· step #14
1m 03s
VerifyBuildbuild_failed
Build error
- Failing step (Docker build): [5/6] RUN pnpm install (Dockerfile:21)
- Exit code: 1
- Exact error message(s):
  - “ ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In : "@vue/compiler-sfc@workspace:*" is in the dependencies but no package named "@vue/compiler-sfc" is present in the workspace”
  - “This error happened while installing a direct dependency of /workspace”
  - “Packages found in the workspace:”
- Missing packages/files mentioned:
  - The workspace dependencies declare "@vue/compiler-sfc@workspace:*" but no package named "@vue/compiler-sfc" is present in the workspace
- Version/mismatch information:
  - “Update available! 8.9.2 → 10.32.1” for pnpm (log shows an update suggestion)
  - Deprecations shown: conventional-changelog-cli@2.2.2, rimraf@3.0.2, puppeteer@14.4.1
- Context notes:
  - The failure occurs during installation of dependencies for /workspace; the Dockerfile shows this step before a subsequent pnpm run build.
READReadFile· step #15
0s
packages/compiler-sfc/package.json913 chars · 38 lines
json38 lines · 913 chars
{
  "name": "@vue/compiler-sfc",
  "version": "2.7.16",
  "description": "compiler-sfc for Vue 2",
  "main": "dist/compiler-sfc.js",
  "types": "dist/compiler-sfc.d.ts",
  "files": [
    "dist"
  ],
  "dependencies": {
    "@babel/parser": "^7.23.5",
    "postcss": "^8.4.14",
    "source-map": "^0.6.1"
  },
  "devDependencies": {
    "@babel/types": "^7.23.5",
    "@types/estree": "^0.0.48",
    "@types/hash-sum": "^1.0.0",
    "@types/lru-cache": "^5.1.1",
    "@vue/consolidate": "^0.17.3",
    "de-indent": "^1.0.2",
    "estree-walker": "^2.0.2",
    "hash-sum": "^2.0.0",
    "less": "^4.1.3",
    "lru-cache": "^5.1.1",
    "magic-string": "^0.25.9",
    "merge-source-map": "^1.1.0",
    "postcss-modules": "^4.3.1",
    "postcss-selector-parser": "^6.0.10",
    "pug": "^3.0.2",
    "sass": "^1.52.3",
    "stylus": "^0.58.1"
  },
  "optionalDependencies": {
    "prettier": "^1.18.2 || ^2.0.0"
  }
}
WRITEWriteFile· step #16
0s
Dockerfile1045 bytes written
text30 lines · 1045 chars
FROM ubuntu:jammy-20260210.1

# Non-interactive environment
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies and Node.js 18, then pnpm
RUN apt-get update \
  && apt-get install -y --no-install-recommends ca-certificates curl gnupg build-essential python3 \
  && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
  && apt-get install -y --no-install-recommends nodejs \
  && npm install -g pnpm@8.9.2 \
  && rm -rf /var/lib/apt/lists/*

# Working directory
WORKDIR /workspace

# Copy source
COPY . .

# Patch workspace reference to local file path to avoid missing workspace package during install
RUN /bin/sh -c 'if grep -q "\"@vue/compiler-sfc\": \"workspace:\\\*\"" package.json; then \
  sed -i "s|\"@vue/compiler-sfc\": \"workspace:\\\*\"|\"@vue/compiler-sfc\": \"file:./packages/compiler-sfc\"|" package.json; fi'

# Install dependencies and build from source
RUN pnpm install
RUN pnpm run build

# Keep the container running (no specific server is defined for this repo)
CMD ["bash", "-lc", "tail -f /dev/null"]
VERIFYVerifyBuild· step #17
1m 08s
VerifyBuildbuild_failed
Build error
Exact error message and exit code:
- Exit code: 1
- Error message:  ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In : "@vue/compiler-sfc@workspace:*" is in the dependencies but no package named "@vue/compiler-sfc" is present in the workspace

Failing command/step:
- [6/7] RUN pnpm install (Dockerfile: RUN pnpm install)

Missing packages or files mentioned:
- The workspace declares "@vue/compiler-sfc@workspace:*" as a dependency, but no package named "@vue/compiler-sfc" is present in the workspace

Version mismatch / warnings:
- Update available! 8.9.2 → 10.32.1 (pnpm)
- WARN deprecated conventional-changelog-cli@2.2.2: This package is no longer maintained. Please use the conventional-changelog package instead.
- WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
- WARN deprecated puppeteer@14.4.1: < 24.15.0 is no longer supported
- This error happened while installing a direct dependency of /workspace
WRITEWriteFile· step #18
0s
.dockerignore75 bytes written
dockerignore10 lines · 75 chars
.git
node_modules
dist
coverage
*.log
.DS_Store
*.md
.npmrc
pnpm-lock.yaml
WRITEWriteFile· step #19
0s
Dockerfile1249 bytes written
text46 lines · 1249 chars
FROM ubuntu:jammy-20260210.1

# Non-interactive environment
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies and Node.js 18, then pnpm
RUN apt-get update \
  && apt-get install -y --no-install-recommends ca-certificates curl gnupg build-essential python3 \
  && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
  && apt-get install -y --no-install-recommends nodejs \
  && npm install -g pnpm@8.9.2 \
  && rm -rf /var/lib/apt/lists/*

# Working directory
WORKDIR /workspace

# Copy source
COPY . .

# Patch workspace reference to local file path to avoid missing workspace package during install
RUN python3 - <<'PY'
import json
p='package.json'
with open(p) as f:
  j=json.load(f)
changed=False
if 'dependencies' in j:
  for k,v in list(j['dependencies'].items()):
    if isinstance(v,str) and v.strip().startswith('workspace:'):
      j['dependencies'][k] = 'file:./packages/compiler-sfc'
      changed=True
if changed:
  with open(p,'w') as f:
    json.dump(j,f, indent=2)
  print('Patched dependencies in package.json')
else:
  print('No workspace dependencies to patch')
PY

# Install dependencies and build from source
RUN pnpm install
RUN pnpm run build

# Default command
CMD ["bash", "-lc", "tail -f /dev/null"]
VERIFYVerifyBuild· step #20
3m 39s
VerifyBuildbuild_failed
Build error
- Failing step (in Dockerfile): [7/7] RUN pnpm run build (Dockerfile:42)

- Exact error message and exit code:
  - FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
  - Aborted (core dumped)
  - ELIFECYCLE  Command failed with exit code 134.
  - The build step did not complete successfully: exit code 1 from /bin/sh -c pnpm run build (reported as exit code 134)

- Context of failure:
  - During pnpm run build in /workspace (the final build step after pnpm install)

- Missing packages or files mentioned:
  - None explicitly reported as missing (no ENOENT or similar errors; dependencies appear to have installed and been processed prior to the failure)

- Version mismatch / update hints observed:
  - pnpm update available: 8.9.2 → 10.32.1
  - Deprecated/versions noted in log (examples):
    - conventional-changelog-cli 2.2.2 is deprecated
    - esbuild postinstall mentions 0.19.12 with 0.27.4 available
    - typescript 4.9.5 with 5.9.3 available
    - rollup 2.80.0 with 4.59.0 available
    - prettier 2.8.8 with 3.8.1 available
    - puppeteer 14.4.1 with 24.39.1 available
    - rimraf 3.0.2 with 6.1.3 available
  - These indicate multiple dependency version updates exist but are not themselves the cause of the reported failure.
WRITEWriteFile· step #21
0s
Dockerfile748 bytes written
text29 lines · 748 chars
FROM ubuntu:jammy-20260210.1

# Non-interactive environment
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies and Node.js 18, then pnpm
RUN apt-get update \
  && apt-get install -y --no-install-recommends ca-certificates curl gnupg build-essential python3 \
  && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
  && apt-get install -y --no-install-recommends nodejs \
  && npm install -g pnpm@8.9.2 \
  && rm -rf /var/lib/apt/lists/*

# Harware memory for Node processes
ENV NODE_OPTIONS=--max_old_space_size=4096

# Working directory
WORKDIR /workspace

# Copy source
COPY . .

# Install dependencies and build from source
RUN pnpm install
RUN pnpm run build

# Default command
CMD ["bash", "-lc", "tail -f /dev/null"]
VERIFYVerifyBuild· step #22
3m 15s
VerifyBuildsmoke_failed
Smoke [PASS]: node -v
Smoke [PASS]: pnpm -v
Smoke [FAIL]: bash -lc 'if [ -d dist ]; then echo dist-dir; elif [ -d build ]; then echo build-dir; else echo no-build-dir; exit 1; fi
  Output: sh: 1: Syntax error: Unterminated quoted string
WRITEWriteFile· step #23
0s
Dockerfile769 bytes written
text29 lines · 769 chars
FROM ubuntu:jammy-20260210.1

# Non-interactive environment
ENV DEBIAN_FRONTEND=noninteractive

# Install system dependencies and Node.js 18, then pnpm
RUN apt-get update \
  && apt-get install -y --no-install-recommends ca-certificates curl gnupg build-essential python3 \
  && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
  && apt-get install -y --no-install-recommends nodejs \
  && npm install -g pnpm@8.9.2 \
  && rm -rf /var/lib/apt/lists/*

# Increase Node.js memory for build
ENV NODE_OPTIONS=--max_old_space_size=4096

# Working directory
WORKDIR /workspace

# Copy source
COPY . .

# Install dependencies and build from source
RUN pnpm install
RUN pnpm run build

# Default command
CMD ["bash", "-lc", "echo Build complete; tail -f /dev/null"]
VERIFYVerifyBuild· step #24
4m 55s
VerifyBuildaccepted
Concerns: COPY . . before pnpm install may cause npm/pnpm install to re-run on every source change, hurting build cache efficiency; consider splitting into a separate stage that copies only package.json/pnpm-workspace.yaml, runs install, then copies the rest of the source., The final CMD just echoes 'Build complete' and tails /dev/null; for production usage, a proper runtime command would be preferable. As a build container it's acceptable, but note this container won't start the app by default.
Smoke [PASS]: if [ -d /workspace/build ] || [ -d /workspace/dist ]; then echo 'build output found'; else echo 'build output missing'; exit 1; fi
Smoke [PASS]: node -v
Smoke [PASS]: pnpm -v