Created
July 17, 2017 13:01
-
-
Save davepoon/0cc4145891c1b14149d8f3f37772a716 to your computer and use it in GitHub Desktop.
loopback, yarn, nodejs and nodemon 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.1.4 | |
# Yarn please | |
RUN curl -o- -L https://yarnpkg.com/install.sh | bash | |
ENV PATH="/root/.yarn/bin:${PATH}" | |
# Installs these globally WITHIN the container, not our local machine | |
RUN yarn && yarn global add loopback-cli && yarn global add nodemon | |
# Any commands start from this directory IN the container | |
WORKDIR /usr/src/api |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment