Created
August 10, 2018 06:00
-
-
Save jnst/adbedcb2e0873489bef017e2935c9220 to your computer and use it in GitHub Desktop.
Nginx by Alpine Linux
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:mainline-alpine | |
HEALTHCHECK --interval=5s --timeout=3s --start-period=5s --retries=1 \ | |
CMD wget -q -O - http://localhost/ || exit 1 | |
CMD ["nginx", "-g", "daemon off;"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment