Spaces:
Sleeping
Sleeping
Download Dockerfile from bjtiew/gotenberg-api: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/spaces/bjtiew/gotenberg-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/bjtiew/gotenberg-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/bjtiew/gotenberg-api/resolve/main/Dockerfile
256 Bytes
| FROM gotenberg/gotenberg:8 | |
| # This matches the flag shown in your logs to pull the port from an environment variable | |
| ENV PORT=7860 | |
| # We tell Gotenberg to look at the 'PORT' variable for its instructions | |
| ENTRYPOINT ["gotenberg", "--api-port-from-env=PORT"] |