Created
December 18, 2017 16:22
-
-
Save TheDeveloper/5e07515b734df745e0d06f601edd8b8c to your computer and use it in GitHub Desktop.
Dockerfile for Node app on ECS.
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 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