Created
September 30, 2021 16:08
-
-
Save ajeetraina/eec69565845a57b9a73bfe50b74372e1 to your computer and use it in GitHub Desktop.
Dockerfile for NodeJS
This file contains 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:15.14WORKDIR /home/node/app | |
COPY ./app/package*.json ./RUN npm install --only=production | |
COPY ./app .CMD [ "npm", "start" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment