From dc70629ef3a7cf050f5baa18e0430bcb49e31f28 Mon Sep 17 00:00:00 2001 From: Ng Heng Khai Date: Wed, 1 May 2024 13:09:03 +0800 Subject: [PATCH] Update Dockerfile Fixed wrong use of ENV PORT variable. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1f08f69..22523ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ WORKDIR / # The environment port to expose. ENV PORT=9090 -EXPOSE 9090 +EXPOSE $PORT # The JAR file path. # ARG JAR_FILE=*.jar