whitphx HF Staff commited on
Commit
46861c5
·
1 Parent(s): 466c09f
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -35,7 +35,10 @@ COPY bench/package*.json ./bench/
35
  WORKDIR /app/bench
36
  RUN npm ci
37
 
38
- # Install Playwright browsers
 
 
 
39
  RUN npx playwright install chromium firefox webkit
40
 
41
  # Copy source code
 
35
  WORKDIR /app/bench
36
  RUN npm ci
37
 
38
+ # Set Playwright browsers path to a shared location
39
+ ENV PLAYWRIGHT_BROWSERS_PATH=/app/playwright-browsers
40
+
41
+ # Install Playwright browsers to shared location
42
  RUN npx playwright install chromium firefox webkit
43
 
44
  # Copy source code