fix: install npm Dockerfile
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
FROM node:22-alpine
|
||||
FROM node:22-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json .
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN npx playwright install-deps
|
||||
RUN npx playwright install chromium
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["node", "index.js"]
|
||||
Reference in New Issue
Block a user