diff --git a/Dockerfile b/Dockerfile index 10c7cf8..177bd53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,8 @@ FROM node:21.5.0 RUN mkdir /smarthome WORKDIR /smarthome -RUN npm install -g forever +# RUN npm install -g forever +RUN npm install -g nodemon COPY package.json /smarthome RUN npm install @@ -12,4 +13,5 @@ COPY . /smarthome EXPOSE 9095 -CMD ["forever","app.js", "9095"] \ No newline at end of file +# CMD ["forever","app.js", "9095"] +CMD ["nodemon","app.js", "9095"] \ No newline at end of file