diff --git a/Dockerfile b/Dockerfile index 5f1f823cc..0ee9e5a51 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,7 @@ COPY ./build . # Run the container under "node" user by default USER node +# Set NODE_ENV env variable to "production" for faster expressjs +ENV NODE_ENV production + CMD [ "node", "server.js" ]