Spaces:
Paused
Paused
Download Dockerfile from tester-dev/test-automation: direct link, hf CLI and curl.
- Browser
- Download file 562 Bytes
-
https://huggingface.co/spaces/tester-dev/test-automation/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/tester-dev/test-automation/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/tester-dev/test-automation/resolve/main/Dockerfile
562 Bytes
| FROM testenv591/backend-api:19 | |
| USER root | |
| RUN apk add --no-cache nginx | |
| RUN mkdir -p /var/cache/nginx \ | |
| /var/log/nginx \ | |
| /var/lib/nginx/logs \ | |
| /var/lib/nginx/tmp \ | |
| /run | |
| RUN chown -R 1000:1000 /var/cache/nginx \ | |
| /var/log/nginx \ | |
| /var/lib/nginx \ | |
| /run | |
| RUN touch /run/nginx.pid && chown 1000:1000 /run/nginx.pid | |
| COPY --chown=root nginx.conf /etc/nginx/nginx.conf | |
| USER 1000 | |
| CMD ["sh", "-c", "nginx -g 'daemon off;' & exec npm start"] |