mirror of
https://github.com/ershisan99/scrape-icp.git
synced 2025-12-16 12:33:53 +00:00
try with docker
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user