Created
December 26, 2018 19:42
-
-
Save mikepfeiffer/33ec8193282bf5b52ccad879324403f4 to your computer and use it in GitHub Desktop.
Dockerfile for a bare bones Node & Express app
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:alpine | |
WORKDIR /usr/app | |
COPY package*.json ./ | |
RUN npm install | |
COPY . . | |
CMD ["npm", "start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment