Created
March 21, 2019 18:39
-
-
Save k0d3d/cfe956583ad1b7023aa82005d155b61d to your computer and use it in GitHub Desktop.
Change the exposed port as you see fit
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:10-alpine | |
WORKDIR /home/node/app | |
COPY package*.json ./ | |
RUN npm install | |
COPY . . | |
EXPOSE 8080 | |
CMD [ "node", "index.js" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment