Created
May 4, 2021 12:50
-
-
Save ng-the-engineer/8e82edaaa03205f46b079f0b9bdd186a to your computer and use it in GitHub Desktop.
Code snippet of tutorial node api k8s
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 node:14-alpine | |
WORKDIR /app | |
COPY package.json . | |
RUN yarn | |
COPY . . | |
EXPOSE 3001 | |
CMD ["node", "app.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment