Commit 4dd614cf authored by Aaron Yildiztas's avatar Aaron Yildiztas
Browse files

added log command to let container to share logs

parent dbbf0b2d
FROM ubuntu
LABEL maintainer="Aaron Yildiztas ("
RUN apt-get update && apt-get install -y nginx
RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log
ENTRYPOINT ["/usr/sbin/nginx", "-g", "daemon off;"]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment