We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cb801a commit 06bfba1Copy full SHA for 06bfba1
frontend/Dockerfile.playwright
@@ -2,10 +2,13 @@ FROM mcr.microsoft.com/playwright:v1.57.0-noble
2
3
WORKDIR /app
4
5
-COPY package*.json /app/
+RUN curl -fsSL https://bun.sh/install | bash
6
+ENV PATH="/root/.bun/bin:$PATH"
7
-RUN npm install
8
+COPY package*.json bun.lock* /app/
9
+
10
+RUN bun install
11
12
COPY ./ /app/
13
-ARG VITE_API_URL=${VITE_API_URL}
14
+ARG VITE_API_URL
frontend/playwright.config.ts
@@ -84,7 +84,7 @@ export default defineConfig({
84
85
/* Run your local dev server before starting the tests */
86
webServer: {
87
- command: 'npm run dev',
+ command: 'bun run dev',
88
url: 'http://localhost:5173',
89
reuseExistingServer: !process.env.CI,
90
},
0 commit comments