Spaces:
Runtime error
Runtime error
update
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -35,7 +35,10 @@ COPY bench/package*.json ./bench/
|
|
| 35 |
WORKDIR /app/bench
|
| 36 |
RUN npm ci
|
| 37 |
|
| 38 |
-
#
|
|
|
|
|
|
|
|
|
|
| 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
|