Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,7 @@
|
|
| 1 |
FROM gotenberg/gotenberg:8
|
| 2 |
|
| 3 |
-
#
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
FROM gotenberg/gotenberg:8
|
| 2 |
|
| 3 |
+
# This matches the flag shown in your logs to pull the port from an environment variable
|
| 4 |
+
ENV PORT=7860
|
| 5 |
+
|
| 6 |
+
# We tell Gotenberg to look at the 'PORT' variable for its instructions
|
| 7 |
+
ENTRYPOINT ["gotenberg", "--api-port-from-env=PORT"]
|