Created
December 19, 2020 03:19
-
-
Save chanakaudaya/3d1997795156a03feb246acc490d38ce to your computer and use it in GitHub Desktop.
Basic Dockerfile with todo JS application
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