Update Dockerfile for newest nginx version
Signed-off-by: Emmy D'Anello <emmy@luemy.eu>
This commit is contained in:
parent
e3e32d4046
commit
b46254ff82
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user