Spaces:
Paused
Paused
Download Dockerfile from RynnHub/playwright: direct link, hf CLI and curl.
- Browser
- Download file 328 Bytes
-
https://huggingface.co/spaces/RynnHub/playwright/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/RynnHub/playwright/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/RynnHub/playwright/resolve/main/Dockerfile
328 Bytes
| FROM mcr.microsoft.com/playwright:focal | |
| ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD 1 | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install | |
| RUN apt-get update && apt-get install -y \ | |
| imagemagick \ | |
| ffmpeg \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY . . | |
| RUN npx playwright install --with-deps | |
| EXPOSE 7860 | |
| CMD ["npm", "start"] |