Created
January 7, 2020 15:20
-
-
Save arjun921/6a916df915f96a5a8ec885cf36e29e23 to your computer and use it in GitHub Desktop.
Docker file for serving Static sites
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 | |
# copy all files to docker (hoping index.html and Dockerfile are at the same level) | |
COPY . usr/share/nginx/html/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment