Skip to content

Commit

Permalink
Updated DockerFile
Browse files Browse the repository at this point in the history
  • Loading branch information
hirawatt committed Nov 1, 2020
1 parent d789b39 commit 731987e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ WORKDIR /chitchat
ADD package*.json /chitchat/
ADD client/package*.json /chitchat/client/
RUN npm install
CMD cd client
RUN npm install
RUN cd client && npm install
CMD cd ..
ADD . .
RUN node index.js
CMD cd /client/
CMD [ "node" , "build" ]
RUN npm install
RUN npm start

EXPOSE 3000

0 comments on commit 731987e

Please sign in to comment.