Created
March 23, 2019 23:37
-
-
Save lamecksilva/482b1ce7f819d66303a037889c8edb33 to your computer and use it in GitHub Desktop.
Dockerfile from CRUD with docker, nodejs mongodb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:11-alpine | |
WORKDIR /node-app | |
COPY package.json . | |
RUN npm install --quiet | |
RUN npm install nodemon -g --quiet | |
COPY . . | |
EXPOSE 9000 | |
CMD nodemon -L --watch . index.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment