|
|
|
@ -5,7 +5,7 @@ USER 0 |
|
|
|
# install nginx |
|
|
|
RUN apt-get update && apt-get install nginx -y |
|
|
|
# copy our nginx configuration to overwrite nginx defaults |
|
|
|
COPY ./nginx/nginx.conf /etc/nginx/conf.d |
|
|
|
COPY ./nginx/nginx.conf /etc/nginx |
|
|
|
# link nginx logs to container stdout |
|
|
|
RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log |
|
|
|
|
|
|
|
|