From 271c14e22606fdd04db67d676c2b5c20f6e47436 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Thu, 24 Oct 2024 09:55:20 +0800 Subject: [PATCH] ci: updated dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 053f3f8..2aac5ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,8 @@ WORKDIR /app # Install pnpm RUN npm install -g pnpm -# Copy pnpm-lock.yaml (if available) -COPY pnpm-lock.yaml ./ +# Copy package.json and pnpm-lock.yaml +COPY package.json pnpm-lock.yaml ./ # Install project dependencies RUN pnpm install --frozen-lockfile @@ -17,4 +17,4 @@ RUN pnpm install --frozen-lockfile COPY . . # Set the command to run Playwright tests -CMD ["pnpm", "exec", "playwright", "test"] \ No newline at end of file +CMD ["pnpm", "exec", "playwright", "test"]