try with docker

This commit is contained in:
andres
2023-03-14 01:40:39 +01:00
parent 66c2878622
commit 72bf87d1b8
2 changed files with 2 additions and 3 deletions

View File

@@ -8,5 +8,4 @@ COPY tsconfig.json /app/
RUN apt-get update && apt-get -y install libnss3 libatk-bridge2.0-0 libdrm-dev libxkbcommon-dev libgbm-dev libasound-dev libatspi2.0-0 libxshmfence-dev
RUN npm install -g pnpm
RUN pnpm install
RUN npx playwright install
RUN pnpm run start
RUN npx playwright install chromium

View File

@@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"dev": "nodemon src/index.ts",
"start": "npx playwright install chromium && ts-node-esm src/index.ts"
"start": "ts-node-esm src/index.ts"
},
"keywords": [],
"author": "Andres",