Skip to content

Instantly share code, notes, and snippets.

@TheDeveloper
Created December 18, 2017 16:22
Show Gist options
  • Save TheDeveloper/5e07515b734df745e0d06f601edd8b8c to your computer and use it in GitHub Desktop.
Save TheDeveloper/5e07515b734df745e0d06f601edd8b8c to your computer and use it in GitHub Desktop.
Dockerfile for Node app on ECS.
FROM mhart/alpine-node:8.9.3
ADD . /app
WORKDIR /app
RUN apk --no-cache add python make gcc g++ git; \
npm install; \
apk --purge del python make gcc g++;
CMD [ "node", "src/main" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment