From 8549dce3eb0ea954e13c2aa7133eea37212ccc42 Mon Sep 17 00:00:00 2001 From: Giovanni Rosa Date: Fri, 14 Apr 2023 13:07:50 +0200 Subject: [PATCH] Fix for Dockerfile smell DL3025 Signed-off-by: Giovanni Rosa --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 514c221e..a0f35f8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ COPY . . ENV PORT=${PORT:-3000} USER 1000:1000 -CMD ./node_modules/probot/bin/probot.js run --port $PORT ./index.js +CMD ["./node_modules/probot/bin/probot.js", "run", "--port", "$PORT", "./index.js"]