Last active
May 31, 2023 15:54
-
-
Save rahuls360/fff18a96ce6b8f6b8d63c8eee6aa63d4 to your computer and use it in GitHub Desktop.
Basic nginx Docker image
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
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