Created
December 7, 2021 11:06
-
-
Save raLaaaa/1f079d5ee24a6e082783a2593de48691 to your computer and use it in GitHub Desktop.
Dockerfile for static HTML
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 ubuntu | |
RUN apt-get update | |
RUN apt-get install nginx -y | |
COPY . /var/www/html/ | |
EXPOSE 80 | |
CMD ["nginx","-g","daemon off;"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment