Skip to content

Instantly share code, notes, and snippets.

@sakeyehp
Created May 2, 2021 21:18
Show Gist options
  • Select an option

  • Save sakeyehp/51fb503c7703df2de7f56007ae47866f to your computer and use it in GitHub Desktop.

Select an option

Save sakeyehp/51fb503c7703df2de7f56007ae47866f to your computer and use it in GitHub Desktop.
# 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