Maintenance: GitLab software upgrade on Friday Jan 21 at 9 p.m. Service may not be available between 9 p.m. and 9:30 p.m.

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 (yildiztasmusa@gmail.com)"
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
EXPOSE 80
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