Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM node:8
- # install dependencies
- RUN mkdir /code
- WORKDIR /code
- COPY package*.json ./
- RUN npm install
- RUN apt-get update
- RUN apt-get install -y python-pip
- ADD requirements.txt /code/
- RUN pip install -r requirements.txt
- # bundle the app
- COPY . .
- # expose the port that Express is running on
- EXPOSE 4000
- # start the app
- CMD ["node", "app.js", "-test"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement