Skip to content

Instantly share code, notes, and snippets.

@rahuls360
Last active May 31, 2023 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahuls360/fff18a96ce6b8f6b8d63c8eee6aa63d4 to your computer and use it in GitHub Desktop.
Save rahuls360/fff18a96ce6b8f6b8d63c8eee6aa63d4 to your computer and use it in GitHub Desktop.
Basic nginx Docker image
FROM nginx:alpine
# Expose port 80
EXPOSE 80
# Override index.html file
# COPY index.html /usr/share/nginx/html
# # Start NGINX
CMD ["nginx", "-g", "daemon off;"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment