Created
July 6, 2018 02:09
-
-
Save albovieira/89a9916ba7ad43ce3891ed0c59c64aa8 to your computer and use it in GitHub Desktop.
dockerfile
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:8.9.2 | |
RUN mkdir -p /usr/src/app | |
WORKDIR /usr/src/app | |
COPY package.json /usr/src/app/ | |
RUN apt-get update && apt-get install vim -y && npm install -g yarn typescript nodemon && yarn | |
COPY . /usr/src/app | |
EXPOSE 3000 | |
CMD [ "yarn", "dev" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment