diff --git a/Dockerfile b/Dockerfile index e8b4402..5711e3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,10 @@ WORKDIR /usr/src/app COPY package*.json ./ RUN npm install +RUN npm install -g nodemon + COPY . . EXPOSE 3001 -CMD [ "npm", "start" ] \ No newline at end of file +CMD [ "npm", "run", "watch" ] \ No newline at end of file