From afc229ecdb20b08137f458e2b16f1c92943f13a9 Mon Sep 17 00:00:00 2001 From: Glenn Date: Tue, 24 Jan 2023 14:59:15 +0100 Subject: [PATCH] fix: Remove PORT from run command --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7de70fa..5d353bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,9 +17,10 @@ RUN yarn --production --pure-lockfile \ # Expose port 4002 EXPOSE 4002 +ENV PORT=4002 # Setting run-command, using explicit `node` command # rather than `yarn` or `npm` to use less memory # https://github.com/nolanlawson/pinafore/issues/971 -CMD ["PORT=4002", "node", "server.js"] +CMD ["node", "server.js"]