diff --git a/NginxHelloWorld/Dockerfile b/NginxHelloWorld/Dockerfile new file mode 100644 index 0000000..2e1ce25 --- /dev/null +++ b/NginxHelloWorld/Dockerfile @@ -0,0 +1,8 @@ +FROM ubuntu:latest +RUN apt update && \ + apt install -y nginx vim + +COPY index.html /usr/share/nginx/html +COPY nginx.conf /etc/nginx/nginx.conf + +CMD /usr/sbin/nginx -g 'daemon off;'