Last active
August 2, 2020 17:49
-
-
Save bengrunfeld/06a5cb3f507a47ea7d737fb2c88aff86 to your computer and use it in GitHub Desktop.
A Node based Dockerfile
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:12.18.3 | |
WORKDIR /usr/src/app | |
ENV MESSAGE "Hello from Ben" | |
COPY package*.json ./ | |
RUN npm install | |
COPY . . | |
EXPOSE 4000 | |
CMD ["npm", "start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment