Skip to content

Instantly share code, notes, and snippets.

@TheDeveloper
Created November 13, 2017 17:08
Show Gist options
  • Save TheDeveloper/047a39aca01d1d780c494846b5ed2716 to your computer and use it in GitHub Desktop.
Save TheDeveloper/047a39aca01d1d780c494846b5ed2716 to your computer and use it in GitHub Desktop.
Dockerfile to build Node app image.
FROM mhart/alpine-node:8.9.1
ADD . /app
WORKDIR /app
RUN apk --no-cache add python make gcc g++ git; \
npm install; \
apk --purge del python make gcc g++;
ENTRYPOINT [ "node" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment