Skip to content

Commit

Permalink
Run as nodemon
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Norwood-Young authored and Jason Norwood-Young committed Jun 26, 2019
1 parent 10499d5 commit 5a64337
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
CMD [ "npm", "run", "watch" ]

0 comments on commit 5a64337

Please sign in to comment.