there is a homepage now

This commit is contained in:
2024-08-17 17:41:24 +02:00
parent 671300ffae
commit fe58722e91
9 changed files with 65 additions and 37 deletions

View File

@ -1,6 +1,12 @@
FROM nginx:latest
FROM debian:bullseye
RUN apt update
RUN apt upgrade -y
RUN apt install openssl nginx -y
RUN mkdir -p /etc/nginx/ssl
RUN apt install -y openssl
RUN openssl req -x509 -nodes -out /etc/nginx/ssl/inception.crt -keyout /etc/nginx/ssl/inception.key -subj "/C=FR/ST=IDF/L=Paris/O=42/OU=42/CN=ptme.com/UID=ptme"
COPY conf/nginx.conf /etc/nginx/nginx.conf
ENTRYPOINT ["nginx", "-g", "daemon off;"]