lewtun HF Staff Claude Opus 4.6 (1M context) commited on
Commit
bc65c0f
·
1 Parent(s): 280034e

Fix build: sync package-lock.json (missing yaml@2.8.3)

Browse files

npm ci was failing because package-lock.json was out of sync with
package.json — yaml@2.8.3 was missing from the lock file.
Revert Dockerfile back to node:20-slim.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Files changed (2) hide show
  1. Dockerfile +2 -2
  2. package-lock.json +17 -0
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:20
2
 
3
  WORKDIR /app
4
 
@@ -6,7 +6,7 @@ COPY package.json package-lock.json ./
6
  RUN npm ci --omit=dev
7
 
8
  COPY . .
9
- RUN NODE_OPTIONS=--openssl-legacy-provider CI=false npm run build
10
 
11
  ENV NODE_ENV=production
12
  ENV PORT=7860
 
1
+ FROM node:20-slim
2
 
3
  WORKDIR /app
4
 
 
6
  RUN npm ci --omit=dev
7
 
8
  COPY . .
9
+ RUN npm run build
10
 
11
  ENV NODE_ENV=production
12
  ENV PORT=7860
package-lock.json CHANGED
@@ -16182,6 +16182,23 @@
16182
  }
16183
  }
16184
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16185
  "node_modules/tapable": {
16186
  "version": "2.3.0",
16187
  "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.0.tgz",
 
16182
  }
16183
  }
16184
  },
16185
+ "node_modules/tailwindcss/node_modules/yaml": {
16186
+ "version": "2.8.3",
16187
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
16188
+ "integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==",
16189
+ "license": "ISC",
16190
+ "optional": true,
16191
+ "peer": true,
16192
+ "bin": {
16193
+ "yaml": "bin.mjs"
16194
+ },
16195
+ "engines": {
16196
+ "node": ">= 14.6"
16197
+ },
16198
+ "funding": {
16199
+ "url": "https://github.com/sponsors/eemeli"
16200
+ }
16201
+ },
16202
  "node_modules/tapable": {
16203
  "version": "2.3.0",
16204
  "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.0.tgz",