Created
November 18, 2021 08:17
-
-
Save voa2000/e4056c0c5bac1b8927d1d0729ba249e2 to your computer and use it in GitHub Desktop.
Static website using Ubuntu and Nginx
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:22.04 | |
RUN apt-get update | |
RUN apt-get install nginx -y | |
COPY index.html /var/www/html/ | |
EXPOSE 80 | |
CMD ["nginx","-g","daemon off;"] | |
ENTRYPOINT ["/bin/bash", "/usr/sbin/nginx"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment