Created
May 11, 2020 19:03
-
-
Save hagzag/8a2c77d74a30e98e64f704339cd84950 to your computer and use it in GitHub Desktop.
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
cat << EOF > Dockerfile | |
FROM node:14.2-alpine | |
RUN mkdir -p /app | |
WORKDIR /app | |
COPY package*.json /app/ | |
RUN npm install | |
COPY . /app | |
EXPOSE 8080 | |
CMD [ "npm", "start" ] | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment