bjtiew commited on
Commit
040dd29
·
verified ·
1 Parent(s): 00657af

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -1,7 +1,4 @@
1
  FROM gotenberg/gotenberg:8
2
 
3
- # Hugging Face requires port 7860
4
- ENV GOTENBERG_API_LISTEN_PORT=7860
5
-
6
- # This ensures the container stays running
7
- CMD ["gotenberg"]
 
1
  FROM gotenberg/gotenberg:8
2
 
3
+ # Force Gotenberg to listen on the HF port via the command line argument
4
+ ENTRYPOINT ["gotenberg", "--api-listen-port=7860"]