Skip to content

Instantly share code, notes, and snippets.

@ng-the-engineer
Created May 4, 2021 12:50
Show Gist options
  • Save ng-the-engineer/8e82edaaa03205f46b079f0b9bdd186a to your computer and use it in GitHub Desktop.
Save ng-the-engineer/8e82edaaa03205f46b079f0b9bdd186a to your computer and use it in GitHub Desktop.
Code snippet of tutorial node api k8s
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