Dockerfile 277 Bytes
Newer Older
Aaron Yildiztas's avatar
Aaron Yildiztas committed
1
2
3
FROM ubuntu
LABEL maintainer="Aaron Yildiztas (yildiztasmusa@gmail.com)"
RUN apt-get update && apt-get install -y nginx
4
RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log
Aaron Yildiztas's avatar
Aaron Yildiztas committed
5
6
EXPOSE 80
ENTRYPOINT ["/usr/sbin/nginx", "-g", "daemon off;"]