mirror of
https://github.com/ershisan99/scrape-icp.git
synced 2026-01-03 05:09:28 +00:00
try with docker
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM mcr.microsoft.com/playwright:v1.31.0-focal
|
||||
|
||||
WORKDIR /app
|
||||
COPY package.json /app/
|
||||
COPY pnpm-lock.yaml /app/
|
||||
COPY features/ /app/features/
|
||||
COPY src/ /app/src/
|
||||
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
|
||||
Reference in New Issue
Block a user