From 1956b165fb2728c7c7c070cd48597b8a5fd056ad Mon Sep 17 00:00:00 2001 From: Cyril Beslay Date: Thu, 7 Dec 2023 15:44:55 +0100 Subject: [PATCH] Use node as first process in Docker container (#1965) --- docker/Dockerfile | 2 +- docker/Dockerfile.buildx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 8f4eb68deb..61a658e4a9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -35,4 +35,4 @@ ENV SERVER_PORT 80 # Export listening port EXPOSE 80 -CMD ["npm" ,"run", "start:prod"] +CMD ["node", "index.js"] diff --git a/docker/Dockerfile.buildx b/docker/Dockerfile.buildx index 72a228efc3..d13cb7ca96 100644 --- a/docker/Dockerfile.buildx +++ b/docker/Dockerfile.buildx @@ -45,4 +45,4 @@ ENV SERVER_PORT 80 # Export listening port EXPOSE 80 -CMD ["npm" ,"run", "start:prod"] +CMD ["node", "index.js"] \ No newline at end of file