T1ckbase commited on
Commit
8b1743f
·
1 Parent(s): 6c319ef
Files changed (2) hide show
  1. Dockerfile +2 -3
  2. package-lock.json +33 -1
Dockerfile CHANGED
@@ -4,14 +4,13 @@ WORKDIR /app
4
 
5
  COPY package.json package-lock.json ./
6
 
7
- # ENV PLAYWRIGHT_BROWSERS_PATH=/app/node_modules/playwright/.local-browsers
8
 
9
  RUN npm install
 
10
 
11
  COPY . .
12
 
13
- RUN npx playwright install --with-deps chrome
14
-
15
  EXPOSE 3000
16
 
17
  CMD ["node", "main.ts"]
 
4
 
5
  COPY package.json package-lock.json ./
6
 
7
+ ENV PLAYWRIGHT_BROWSERS_PATH=/app/node_modules/playwright/.local-browsers
8
 
9
  RUN npm install
10
+ RUN npx playwright install --with-deps chrome
11
 
12
  COPY . .
13
 
 
 
14
  EXPOSE 3000
15
 
16
  CMD ["node", "main.ts"]
package-lock.json CHANGED
@@ -10,7 +10,7 @@
10
  "dependencies": {
11
  "@hono/node-server": "^1.19.6",
12
  "hono": "^4.10.7",
13
- "playwright-core": "^1.57.0"
14
  },
15
  "devDependencies": {
16
  "@biomejs/biome": "^2.3.8",
@@ -202,6 +202,20 @@
202
  "undici-types": "~7.16.0"
203
  }
204
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
205
  "node_modules/hono": {
206
  "version": "4.10.7",
207
  "resolved": "https://registry.npmjs.org/hono/-/hono-4.10.7.tgz",
@@ -212,6 +226,24 @@
212
  "node": ">=16.9.0"
213
  }
214
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  "node_modules/playwright-core": {
216
  "version": "1.57.0",
217
  "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.57.0.tgz",
 
10
  "dependencies": {
11
  "@hono/node-server": "^1.19.6",
12
  "hono": "^4.10.7",
13
+ "playwright": "^1.57.0"
14
  },
15
  "devDependencies": {
16
  "@biomejs/biome": "^2.3.8",
 
202
  "undici-types": "~7.16.0"
203
  }
204
  },
205
+ "node_modules/fsevents": {
206
+ "version": "2.3.2",
207
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
208
+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
209
+ "hasInstallScript": true,
210
+ "license": "MIT",
211
+ "optional": true,
212
+ "os": [
213
+ "darwin"
214
+ ],
215
+ "engines": {
216
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
217
+ }
218
+ },
219
  "node_modules/hono": {
220
  "version": "4.10.7",
221
  "resolved": "https://registry.npmjs.org/hono/-/hono-4.10.7.tgz",
 
226
  "node": ">=16.9.0"
227
  }
228
  },
229
+ "node_modules/playwright": {
230
+ "version": "1.57.0",
231
+ "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.57.0.tgz",
232
+ "integrity": "sha512-ilYQj1s8sr2ppEJ2YVadYBN0Mb3mdo9J0wQ+UuDhzYqURwSoW4n1Xs5vs7ORwgDGmyEh33tRMeS8KhdkMoLXQw==",
233
+ "license": "Apache-2.0",
234
+ "dependencies": {
235
+ "playwright-core": "1.57.0"
236
+ },
237
+ "bin": {
238
+ "playwright": "cli.js"
239
+ },
240
+ "engines": {
241
+ "node": ">=18"
242
+ },
243
+ "optionalDependencies": {
244
+ "fsevents": "2.3.2"
245
+ }
246
+ },
247
  "node_modules/playwright-core": {
248
  "version": "1.57.0",
249
  "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.57.0.tgz",