Download Dockerfile from ken4/iqc: direct link, hf CLI and curl.
- Browser
- Download file 495 Bytes
-
https://huggingface.co/spaces/ken4/iqc/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ken4/iqc/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ken4/iqc/resolve/main/Dockerfile
495 Bytes
| ARG PLAYWRIGHT_VERSION=1.65.0 | |
| FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble | |
| ARG PLAYWRIGHT_VERSION | |
| ENV TZ=Asia/Jakarta \ | |
| PORT=7860 | |
| RUN ln -snf "/usr/share/zoneinfo/$TZ" /etc/localtime && echo "$TZ" > /etc/timezone | |
| WORKDIR /app | |
| RUN --mount=type=secret,id=GITHUB_REPO,required=true \ | |
| git clone --depth 1 "$(cat /run/secrets/GITHUB_REPO)" . \ | |
| && rm -rf .git | |
| RUN npm install --omit=dev --no-save "playwright@${PLAYWRIGHT_VERSION}" | |
| EXPOSE 7860 | |
| CMD ["node", "app.js"] | |