Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. FROM node:8
  2. # install dependencies
  3.  
  4. RUN mkdir /code
  5. WORKDIR /code
  6.  
  7. COPY package*.json ./
  8.  
  9. RUN npm install
  10.  
  11. RUN apt-get update
  12.  
  13. RUN apt-get install -y python-pip
  14.  
  15.  
  16. ADD requirements.txt /code/
  17. RUN pip install -r requirements.txt
  18.  
  19.  
  20. # bundle the app
  21. COPY . .
  22.  
  23. # expose the port that Express is running on
  24. EXPOSE 4000
  25.  
  26.  
  27. # start the app
  28. CMD ["node", "app.js", "-test"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement