Created
May 2, 2021 21:18
-
-
Save sakeyehp/51fb503c7703df2de7f56007ae47866f to your computer and use it in GitHub Desktop.
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
| # Use a base image | |
| FROM node:6 | |
| # Set a working directory | |
| WORKDIR /app | |
| # Copy the current directory contents into the container at /app | |
| ADD . /app | |
| # Expose port 80 | |
| EXPOSE 80 | |
| # Run app.js | |
| CMD ["node", "app.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment