Generated by Spark: Run docker/build-push-action@v5

GitHub Actions runtime token ACs
Docker info
Proxy configuration
Buildx version
Builder info
/usr/bin/docker buildx build --cache-from type=gha --cache-to type=gha,mode=max --iidfile /home/runner/work/_temp/docker-actions-toolkit-StNnQE/build-iidfile-53e302b45a.txt --label org.opencontainers.image.created=2026-01-17T18:58:49.099Z --label org.opencontainers.image.description= --label org.opencontainers.image.licenses=MIT --label org.opencontainers.image.revision=595f1ae9c0eb07bd4018c5dd28e71a9474340f48 --label org.opencontainers.image.source=https://github.com/johndoe6345789/low-code-react-app-b --label org.opencontainers.image.title=low-code-react-app-b --label org.opencontainers.image.url=https://github.com/johndoe6345789/low-code-react-app-b --label org.opencontainers.image.version=main --platform linux/amd64,linux/arm64 --attest type=provenance,mode=max,builder-id=https://github.com/johndoe6345789/low-code-react-app-b/actions/runs/21099291076 --tag ghcr.io/johndoe6345789/low-code-react-app-b:main --tag ghcr.io/johndoe6345789/low-code-react-app-b:main-595f1ae --metadata-file /home/runner/work/_temp/docker-actions-toolkit-StNnQE/build-metadata-6b5d4d5c31.json --push .
#0 building with "builder-e8330c9c-acfd-4996-a552-945836e73373" instance using docker-container driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 310B done
#1 DONE 0.0s

#2 [auth] library/node:pull token for registry-1.docker.io
#2 DONE 0.0s

#3 [linux/amd64 internal] load metadata for docker.io/library/node:lts-alpine
#3 DONE 0.4s

#4 [linux/arm64 internal] load metadata for docker.io/library/node:lts-alpine
#4 DONE 0.4s

#5 [internal] load .dockerignore
#5 transferring context: 344B done
#5 DONE 0.0s

#6 importing cache manifest from gha:13603380523401637367
#6 DONE 0.1s

#7 [linux/amd64 1/8] FROM docker.io/library/node:lts-alpine@sha256:931d7d57f8c1fd0e2179dbff7cc7da4c9dd100998bc2b32afc85142d8efbc213
#7 resolve docker.io/library/node:lts-alpine@sha256:931d7d57f8c1fd0e2179dbff7cc7da4c9dd100998bc2b32afc85142d8efbc213 done
#7 sha256:185f31dc0b020b0ec03ea407f12404329981e6427d74bd739b2bd1b7dc6a37de 446B / 446B 0.1s done
#7 ...

#8 [internal] load build context
#8 transferring context: 10.67MB 0.2s done
#8 DONE 0.2s

#7 [linux/amd64 1/8] FROM docker.io/library/node:lts-alpine@sha256:931d7d57f8c1fd0e2179dbff7cc7da4c9dd100998bc2b32afc85142d8efbc213
#7 sha256:2376a6a774696529fd8c2bd55909fd081b5bec400b7f353ebf035c47fc32f195 1.26MB / 1.26MB 0.0s done
#7 sha256:1074353eec0db2c1d81d5af2671e56e00cf5738486f5762609ea33d606f88612 3.86MB / 3.86MB 0.1s done
#7 extracting sha256:1074353eec0db2c1d81d5af2671e56e00cf5738486f5762609ea33d606f88612
#7 sha256:37199d3b7bb1ac601fd713f67f7665417652fda0fd1bae677be5b6b8726489d5 19.23MB / 50.97MB 0.2s
#7 extracting sha256:1074353eec0db2c1d81d5af2671e56e00cf5738486f5762609ea33d606f88612 0.1s done
#7 sha256:37199d3b7bb1ac601fd713f67f7665417652fda0fd1bae677be5b6b8726489d5 50.97MB / 50.97MB 0.3s done
#7 DONE 0.5s

#9 [linux/arm64 1/8] FROM docker.io/library/node:lts-alpine@sha256:931d7d57f8c1fd0e2179dbff7cc7da4c9dd100998bc2b32afc85142d8efbc213
#9 resolve docker.io/library/node:lts-alpine@sha256:931d7d57f8c1fd0e2179dbff7cc7da4c9dd100998bc2b32afc85142d8efbc213 done
#9 sha256:920c32c30a576510d3c09d291ac6195b55bd619acd0c8f230c89e1c948d4a7e4 445B / 445B 0.0s done
#9 sha256:35ec70997fb95afb58d8feb4c2d37a7bde60008e3f77ebdc8513d6f9889a2110 1.26MB / 1.26MB 0.1s done
#9 sha256:f6b4fb9446345fcad2db26eac181fef6c0a919c8a4fcccd3bea5deb7f6dff67e 4.20MB / 4.20MB 0.1s done
#9 extracting sha256:f6b4fb9446345fcad2db26eac181fef6c0a919c8a4fcccd3bea5deb7f6dff67e 0.2s done
#9 sha256:f09cf2cc56809037a69d614c2d22d4355ba78c67cf62aac15a4bddc73245d9ff 51.86MB / 51.86MB 0.3s done
#9 extracting sha256:f09cf2cc56809037a69d614c2d22d4355ba78c67cf62aac15a4bddc73245d9ff
#9 extracting sha256:f09cf2cc56809037a69d614c2d22d4355ba78c67cf62aac15a4bddc73245d9ff 1.3s done
#9 DONE 1.7s

#7 [linux/amd64 1/8] FROM docker.io/library/node:lts-alpine@sha256:931d7d57f8c1fd0e2179dbff7cc7da4c9dd100998bc2b32afc85142d8efbc213
#7 extracting sha256:37199d3b7bb1ac601fd713f67f7665417652fda0fd1bae677be5b6b8726489d5
#7 extracting sha256:37199d3b7bb1ac601fd713f67f7665417652fda0fd1bae677be5b6b8726489d5 1.2s done
#7 extracting sha256:2376a6a774696529fd8c2bd55909fd081b5bec400b7f353ebf035c47fc32f195 0.0s done
#7 extracting sha256:185f31dc0b020b0ec03ea407f12404329981e6427d74bd739b2bd1b7dc6a37de 0.1s done
#7 DONE 1.8s

#9 [linux/arm64 1/8] FROM docker.io/library/node:lts-alpine@sha256:931d7d57f8c1fd0e2179dbff7cc7da4c9dd100998bc2b32afc85142d8efbc213
#9 extracting sha256:35ec70997fb95afb58d8feb4c2d37a7bde60008e3f77ebdc8513d6f9889a2110 0.1s done
#9 extracting sha256:920c32c30a576510d3c09d291ac6195b55bd619acd0c8f230c89e1c948d4a7e4 done
#9 DONE 1.7s

#10 [linux/arm64 2/8] WORKDIR /app
#10 DONE 0.6s

#11 [linux/amd64 2/8] WORKDIR /app
#11 DONE 0.6s

#12 [linux/amd64 3/8] COPY package*.json ./
#12 DONE 0.0s

#13 [linux/arm64 3/8] COPY package*.json ./
#13 DONE 0.0s

#14 [linux/amd64 4/8] COPY packages/spark-tools ./packages/spark-tools
#14 DONE 0.0s

#15 [linux/arm64 4/8] COPY packages/spark-tools ./packages/spark-tools
#15 DONE 0.0s

#16 [linux/amd64 5/8] COPY packages/spark ./packages/spark
#16 DONE 0.0s

#17 [linux/arm64 5/8] COPY packages/spark ./packages/spark
#17 DONE 0.0s

#18 [linux/arm64 6/8] RUN npm ci --include=optional --omit=dev
#18 ...

#19 [linux/amd64 6/8] RUN npm ci --include=optional --omit=dev
#19 17.25
#19 17.25 added 442 packages, and audited 445 packages in 17s
#19 17.25
#19 17.25 50 packages are looking for funding
#19 17.25   run `npm fund` for details
#19 17.25
#19 17.25 found 0 vulnerabilities
#19 17.26 npm notice
#19 17.26 npm notice New minor version of npm available! 11.6.2 -> 11.7.0
#19 17.26 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.7.0
#19 17.26 npm notice To update run: npm install -g npm@11.7.0
#19 17.26 npm notice
#19 DONE 18.8s

#18 [linux/arm64 6/8] RUN npm ci --include=optional --omit=dev
#18 ...

#20 [linux/amd64 7/8] COPY . .
#20 DONE 0.5s

#18 [linux/arm64 6/8] RUN npm ci --include=optional --omit=dev
#18 ...

#21 [linux/amd64 8/8] RUN npm run build
#21 0.231
#21 0.231 > spark-template@0.0.0 prebuild
#21 0.231 > mkdir -p /tmp/dist || true
#21 0.231
#21 0.240
#21 0.240 > spark-template@0.0.0 build
#21 0.240 > tsc -b --noCheck && vite build
#21 0.240
#21 0.242 sh: tsc: not found
#21 ERROR: process "/bin/sh -c npm run build" did not complete successfully: exit code: 127

#18 [linux/arm64 6/8] RUN npm ci --include=optional --omit=dev
#18 CANCELED
------
 > [linux/amd64 8/8] RUN npm run build:
0.231
0.231 > spark-template@0.0.0 prebuild
0.231 > mkdir -p /tmp/dist || true
0.231
0.240
0.240 > spark-template@0.0.0 build
0.240 > tsc -b --noCheck && vite build
0.240
0.242 sh: tsc: not found
------
Dockerfile:14
--------------------
  12 |     COPY . .
  13 |
  14 | >>> RUN npm run build
  15 |
  16 |     EXPOSE 80
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 127
Error: buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 127
This commit is contained in:
2026-01-17 19:03:10 +00:00
committed by GitHub
parent 595f1ae9c0
commit 21ed554d4f

View File

@@ -1,3 +1,18 @@
FROM node:lts-alpine AS builder
WORKDIR /app
COPY package*.json ./
COPY packages/spark-tools ./packages/spark-tools
COPY packages/spark ./packages/spark
RUN npm ci --include=optional
COPY . .
RUN npm run build
FROM node:lts-alpine
WORKDIR /app
@@ -9,9 +24,7 @@ COPY packages/spark ./packages/spark
RUN npm ci --include=optional --omit=dev
COPY . .
RUN npm run build
COPY --from=builder /app/dist ./dist
EXPOSE 80