Update Dockerfile for newest nginx version
Signed-off-by: Emmy D'Anello <emmy@luemy.eu>
This commit is contained in:
		| @@ -9,10 +9,9 @@ RUN mkdir /hook | |||||||
| RUN mkdir -p /var/www/html | RUN mkdir -p /var/www/html | ||||||
|  |  | ||||||
| # Configure nginx | # Configure nginx | ||||||
| RUN mkdir /run/nginx |  | ||||||
| RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log | RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log | ||||||
| COPY nginx.conf /etc/nginx/conf.d/mkdocs-server.conf | COPY nginx.conf /etc/nginx/http.d/mkdocs-server.conf | ||||||
| RUN rm /etc/nginx/conf.d/default.conf | RUN rm /etc/nginx/http.d/default.conf | ||||||
|  |  | ||||||
| COPY ./entrypoint.sh /hook | COPY ./entrypoint.sh /hook | ||||||
| COPY ./docker-hook /hook | COPY ./docker-hook /hook | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user