Download tasks/linkedin/tests/oracle-runtime/Dockerfile from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 912 Bytes
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/linkedin/tests/oracle-runtime/Dockerfile
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/linkedin/tests/oracle-runtime/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/linkedin/tests/oracle-runtime/Dockerfile
912 Bytes
| FROM node:22.23.1-bookworm-slim AS build | |
| WORKDIR /build | |
| COPY clone/package.json clone/package-lock.json ./ | |
| RUN npm ci --no-audit --no-fund | |
| COPY clone/ ./ | |
| RUN npm run build | |
| FROM python:3.12.11-slim-bookworm | |
| WORKDIR /srv/reference | |
| COPY --from=build /usr/local/bin/node /usr/local/bin/node | |
| COPY --from=build /build/.next/standalone ./standalone | |
| COPY --from=build /build/.next/static ./standalone/.next/static | |
| COPY --from=build /build/public ./standalone/public | |
| COPY profile.json run.sh ./ | |
| COPY backend/ ./backend/ | |
| COPY runtime-support/ ./runtime-support/ | |
| RUN chmod 755 run.sh && mkdir -p /var/lib/websitebench | |
| ENV HOST=0.0.0.0 PORT=8080 DATA_DIR=/var/lib/websitebench TZ=UTC | |
| HEALTHCHECK --interval=2s --timeout=3s --retries=60 CMD python3 -c "import json,os,urllib.request as r; assert json.load(r.urlopen('http://127.0.0.1:'+os.environ.get('PORT','8080')+'/healthz',timeout=2))=={'status':'ok'}" | |
| CMD ["./run.sh"] | |