Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Dec 1, 2020
1 parent 59df703 commit 66e297f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
FROM ubuntu:18.04
RUN apt-get update && apt-get install mongodb -y
RUN apt-get install nodejs -y
RUN apt-get install npm -y
RUN service mongodb start
FROM node:latest
ENV NODE_ENV=production
ENV URL=http://135.181.64.116:8000
RUN mkdir -p /usr/src/app
Expand All @@ -11,5 +7,4 @@ COPY package.json /usr/src/app/
RUN npm install
COPY . /usr/src/app
EXPOSE 8000
CMD ["sh", "run.sh"]

CMD [ "npm", "start" ]

0 comments on commit 66e297f

Please sign in to comment.