Created
December 19, 2020 03:23
-
-
Save chanakaudaya/cf70a03858092c980d59679a45a859b0 to your computer and use it in GitHub Desktop.
Updated docker file for better image building
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:12-alpine | |
WORKDIR /app | |
COPY package.json yarn.lock ./ | |
RUN yarn install --production | |
COPY . . | |
CMD ["node", "src/index.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment