Created
April 21, 2018 19:47
-
-
Save skeep/5077ba821636f2da053d2299eb2ecda7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
# Create app directory | |
RUN mkdir -p /usr/src/app | |
RUN chmod -R 777 /usr/src/app | |
WORKDIR /usr/src/app | |
# Copy code | |
COPY package.json /usr/src/app/ | |
COPY . /usr/src/app | |
RUN npm install -g nodemon | |
# This is our secret sauce | |
RUN git clone https://github.com/vishnubob/wait-for-it.git | |
# Run config | |
EXPOSE 8080 | |
CMD ["nodemon", "server"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment