From aca24ef18a74ac738aa69576c629163ad7091fe8 Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Thu, 7 Jul 2016 16:32:46 -0700 Subject: [PATCH] Update dockerfile to start with env variable --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 713bb6711..7386cd58e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,4 +22,4 @@ EXPOSE 5100 # We use a start-aws command that automatically spawns the correct process # based on environment variables (which changes instance to instance) -CMD [ "./node_modules/pm2/bin/pm2", "start", "./pm2-prod-${AWS_SERVICE_NAME}.yml"] +CMD ./node_modules/pm2/bin/pm2 start --no-daemon ./pm2-prod-${AWS_SERVICE_NAME}.yml