From 8e4aa1b08be94a60885ffa4fac36c629ab7eb0a8 Mon Sep 17 00:00:00 2001 From: Martin Hebnes Pedersen Date: Sun, 5 Nov 2023 12:37:07 +0100 Subject: [PATCH] docker: Set HTTP listen address by env variable --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c4aa19e3..79a78ef1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ WORKDIR /app ENV XDG_CONFIG_HOME=/app ENV XDG_DATA_HOME=/app ENV XDG_STATE_HOME=/app +ENV PAT_HTTPADDR=:8080 EXPOSE 8080 ENTRYPOINT ["/bin/pat"] -CMD ["http", "--addr", ":8080"] +CMD ["http"]