From 69fbf3fdef3d4bedbc2bfd590d44853cbeb1016c Mon Sep 17 00:00:00 2001 From: Gasparyan KJ <103612926+000KJ@users.noreply.github.com> Date: Thu, 23 May 2024 14:45:51 +0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3983ea8..7a812be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,9 @@ ENV NODE_ENV=production WORKDIR /usr/src/index COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"] RUN npm install --production --silent && mv node_modules ../ +RUN npm install -g --force nodemon COPY . . EXPOSE 8080 RUN chown -R node /usr/src/index USER node -CMD ["npm", "start"] \ No newline at end of file +CMD ["npm", "start"]