Created
November 11, 2021 16:49
-
-
Save skipperkongen/e020c92fa1284ea2c682306df86f45fa to your computer and use it in GitHub Desktop.
Docker static HTML with nginx
This file contains hidden or 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:latest | |
COPY src /usr/share/nginx/html | |
# docker build -t try-docker-nginx-statichtml . | |
# docker run -p 8080:80 try-docker-nginx-statichtml | |
# open localhost:8080 in browser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment