Created
March 10, 2021 22:32
-
-
Save whoisryosuke/8100991673f6ee8099b96538c37aafe9 to your computer and use it in GitHub Desktop.
Docker - Deploy static projects - This deploys the contents of the public folder (in same directory as Dockerfile) into the root of the nginx container. This is served at localhost:80
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 ./public /usr/share/nginx/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment