correction d'erreur de build
This commit is contained in:
@@ -4,9 +4,9 @@ RUN apt install nginx -y
|
|||||||
RUN apt install vim -y
|
RUN apt install vim -y
|
||||||
RUN apt install curl -y
|
RUN apt install curl -y
|
||||||
RUN apt install openssl -y
|
RUN apt install openssl -y
|
||||||
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=yantoine.42.fr/UID=yantoine"
|
|
||||||
RUN mkdir -p /etc/nginx/ssl
|
RUN mkdir -p /etc/nginx/ssl
|
||||||
RUN mkdir -p /var/run/nginx
|
RUN mkdir -p /var/run/nginx
|
||||||
|
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=yantoine.42.fr/UID=yantoine"
|
||||||
COPY conf/nginx.conf /etc/nginx/nginx.conf
|
COPY conf/nginx.conf /etc/nginx/nginx.conf
|
||||||
RUN chmod 755 /var/www/html
|
RUN chmod 755 /var/www/html
|
||||||
RUN chown -R www-data:www-data /var/www/html
|
RUN chown -R www-data:www-data /var/www/html
|
||||||
|
|||||||
Reference in New Issue
Block a user