We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4e4501 commit 361e4ffCopy full SHA for 361e4ff
Dockerfile
@@ -1,11 +1,10 @@
1
-FROM debian:jessie
+FROM alpine:edge
2
3
MAINTAINER Nicolas Delaby <[email protected]>
4
5
-RUN apt-get -y update &&\
6
- apt-get install -y -q nginx nginx-extras ca-certificates &&\
7
- apt-get clean &&\
8
- rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
+RUN apk add --update nginx ca-certificates
+
+RUN echo -n "daemon off;" >> /etc/nginx/nginx.conf
9
10
VOLUME /var/log/nginx
11
VOLUME /etc/nginx/
0 commit comments