playwright / Dockerfile
maylinejix's picture
Create Dockerfile
0e8ec63 verified
raw
history blame
287 Bytes
FROM node:18-slim
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN git clone https://huggingface.co/spaces/HerzaJ/playwright .
RUN npm install
RUN npx playwright install --with-deps chromium || true
EXPOSE 7860
CMD ["node", "server.js"]