first commit

This commit is contained in:
Shuery committed 2026-10-02 00:28:37 +08:00
commit bc94c75b54
31 files changed
+3483

No files matched your search

+66
View File
@@ -0,0 +1,66 @@
#0 building with "desktop-linux" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 329B done
#1 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/library/nginx:alpine
#2 DONE 0.4s
#3 [internal] load metadata for docker.io/library/node:24-alpine
#3 DONE 0.4s
#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 1.03kB done
#5 DONE 0.0s
#6 [stage-1 1/3] FROM docker.io/library/nginx:alpine@sha256:4a73073bd557c65b759505da037898b61f1be6cbcc3c2c3aeac22d2a470c1752
#6 resolve docker.io/library/nginx:alpine@sha256:4a73073bd557c65b759505da037898b61f1be6cbcc3c2c3aeac22d2a470c1752 0.1s done
#6 DONE 0.1s
#7 [builder 1/6] FROM docker.io/library/node:24-alpine@sha256:d32cdf619f63fe0471182d08996dd516c6275bb5fd31ae06e55a570bd9e1ad43
#7 resolve docker.io/library/node:24-alpine@sha256:d32cdf619f63fe0471182d08996dd516c6275bb5fd31ae06e55a570bd9e1ad43
#7 resolve docker.io/library/node:24-alpine@sha256:d32cdf619f63fe0471182d08996dd516c6275bb5fd31ae06e55a570bd9e1ad43 0.1s done
#7 DONE 0.1s
#6 [stage-1 1/3] FROM docker.io/library/nginx:alpine@sha256:4a73073bd557c65b759505da037898b61f1be6cbcc3c2c3aeac22d2a470c1752
#6 CACHED
#8 [builder 2/6] WORKDIR /app
#8 CACHED
#9 [builder 3/6] COPY package*.json ./
#9 DONE 0.1s
#10 [builder 4/6] RUN npm install --registry=https://registry.npmmirror.com
#10 0.488 npm error code EJSONPARSE
#10 0.489 npm error JSON.parse Invalid package.json: JSONParseError: Unexpected end of JSON input while parsing empty string
#10 0.489 npm error JSON.parse Failed to parse JSON data.
#10 0.489 npm error JSON.parse Note: package.json must be actual JSON, not just JavaScript.
#10 0.490 npm error A complete log of this run can be found in: /root/.npm/_logs/2026-08-05T11_12_45_107Z-debug-0.log
#10 ERROR: process "/bin/sh -c npm install --registry=https://registry.npmmirror.com" did not complete successfully: exit code: 1
------
> [builder 4/6] RUN npm install --registry=https://registry.npmmirror.com:
0.488 npm error code EJSONPARSE
0.489 npm error JSON.parse Invalid package.json: JSONParseError: Unexpected end of JSON input while parsing empty string
0.489 npm error JSON.parse Failed to parse JSON data.
0.489 npm error JSON.parse Note: package.json must be actual JSON, not just JavaScript.
0.490 npm error A complete log of this run can be found in: /root/.npm/_logs/2026-08-05T11_12_45_107Z-debug-0.log
------
1 warning found (use docker --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
Dockerfile:4
--------------------
2 | WORKDIR /app
3 | COPY package*.json ./
4 | >>> RUN npm install --registry=https://registry.npmmirror.com
5 | COPY . .
6 | RUN npm run build
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c npm install --registry=https://registry.npmmirror.com" did not complete successfully: exit code: 1