File size: 256 Bytes
00657af
 
5ba37a4
 
 
 
 
1
2
3
4
5
6
7
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"]