Skip to content

Instantly share code, notes, and snippets.

@bmwitcher
Created October 31, 2020 13:34
Show Gist options
  • Save bmwitcher/f6c31d6f5c5ccc4d30ca5ba6e1a9a2c6 to your computer and use it in GitHub Desktop.
Save bmwitcher/f6c31d6f5c5ccc4d30ca5ba6e1a9a2c6 to your computer and use it in GitHub Desktop.
Nginx Dockerfile
FROM ubuntu
RUN apt-get update
RUN apt-get install nginx -y
COPY index.html /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