Skip to content

Instantly share code, notes, and snippets.

@ManfredLange
Created August 19, 2018 02:57
Show Gist options
  • Save ManfredLange/6f537ef168e48584e4971687692fd239 to your computer and use it in GitHub Desktop.
Save ManfredLange/6f537ef168e48584e4971687692fd239 to your computer and use it in GitHub Desktop.
Initial Dockerfile
FROM node:10-alpine
RUN mkdir -p /home/nodejs/app
WORKDIR /home/nodejs/app
COPY . .
RUN npm install --production
CMD ["node", "hello_express.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment