$ docker build -t nginx .
$ docker run -d -p 80:80 --name nginx dangerous/nginx
$ docker pull dangerous/nginx
FROM nginx
RUN rm /etc/nginx/conf.d/default.conf || echo "File does not exist"
RUN rm /etc/nginx/conf.d/example_ssl.conf || echo "File does not exist"
COPY config/nginx.conf /etc/nginx/
COPY config/default /etc/nginx/sites-enabled/
COPY html/index.html /etc/nginx/html/
Content type
Image
Digest
sha256:a5e13f36e…
Size
38.1 MB
Last updated
almost 11 years ago
docker pull dangerous/nginx