commit 57f3b99a7d1cd1dc1c021f23216c146d0d71b877 Author: Michele Giacomoli Date: Fri Mar 20 01:59:14 2026 +0100 Aggiunto Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b1d4517 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM ubuntu:24.04 + +RUN apt-get update + +RUN apt-get install -y curl + +RUN apt-get install -y nginx && apt-get clean + +RUN ln -sf /dev/stdout /var/log/nginx/access.log + +RUN sed -i -e 's%location / {%location \/ {\n\t\tautoindex on;%g' /etc/nginx/sites-enabled/default + +EXPOSE 80 + +CMD ["nginx", "-g", "daemon off;", "-c", "/etc/nginx/nginx.conf"]