Sign inSign up

marcospauloss/api_nginx

By marcospauloss

•Updated over 8 years ago

Configuração de Servidor com nginx

Image
0

68

marcospauloss/api_nginx repository overview

DockerFile

FROM ubuntu

#MAINTAINER William de Oliveira Souza [email protected]⁠

RUN apt-get update

RUN apt-get install -y nginx && apt-get clean

ADD ./nginx.conf /etc/nginx/sites-enabled/default

RUN ln -sf /dev/stdout /var/log/nginx/access.log

RUN ln -sf /dev/stderr /var/log/nginx/error.log

#RUN echo "daemon off;" >> /etc/nginx/nginx.conf

EXPOSE 80

CMD ["/usr/sbin/nginx", "-g", "daemon off;"]

Tag summary

Content type

Image

Digest

Size

92.1 MB

Last updated

over 8 years ago

docker pull marcospauloss/api_nginx:1.0