Skip to content

Instantly share code, notes, and snippets.

@raLaaaa
Created December 7, 2021 11:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raLaaaa/1f079d5ee24a6e082783a2593de48691 to your computer and use it in GitHub Desktop.
Save raLaaaa/1f079d5ee24a6e082783a2593de48691 to your computer and use it in GitHub Desktop.
Dockerfile for static HTML
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