add playwright test setup

This commit is contained in:
Zhi
2026-03-13 01:19:27 +00:00
parent 69d1eb8aff
commit de9b0cd5d0
4 changed files with 51 additions and 0 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM node:20-bookworm-slim
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD ["npm", "run", "dev"]