Skip to content

Instantly share code, notes, and snippets.

@aherve
Created March 6, 2017 11:24
Show Gist options
  • Select an option

  • Save aherve/f200297f5b12bcba1a96aabec418dad2 to your computer and use it in GitHub Desktop.

Select an option

Save aherve/f200297f5b12bcba1a96aabec418dad2 to your computer and use it in GitHub Desktop.
# smart people already figured out how to install node
FROM mhart/alpine-node:7
# create a work directory inside the container
RUN mkdir /app
WORKDIR /app
# install utilities. I currently like yarn
RUN npm install -g yarn nodemon tsc
# install dependencies
RUN yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment