Last active
October 26, 2018 00:15
-
-
Save jacksonpires/9026b9968e0b4400bf445f48cfbe5eb1 to your computer and use it in GitHub Desktop.
Dockerfile do Projeto Docker para Desenvolvedores Javascript / Node.JS
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:carbon | |
WORKDIR /usr/src/app | |
COPY crud-node-postgres/package*.json ./ | |
RUN npm install | |
COPY ./crud-node-postgres/ . | |
RUN npm install -g bower | |
COPY crud-node-postgres/bower*.json ./ | |
RUN bower install --allow-root | |
EXPOSE 3090 | |
CMD [ "node", "server.js" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment