Skip to content

Commit 419994c

Browse files
author
Nicolas Delaby
committed
override default CMD
1 parent b9eb035 commit 419994c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ FROM debian:sid
22

33
MAINTAINER Nicolas Delaby <[email protected]>
44

5-
RUN apt-get -y update && apt-get install -y -q nginx nginx-extras &&\
6-
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
5+
RUN apt-get -y update &&\
6+
apt-get install -y -q nginx nginx-extras &&\
7+
apt-get clean &&\
8+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
79

810
VOLUME /var/log/nginx
911
VOLUME /etc/nginx/
1012

1113
EXPOSE 80 443
1214
ENTRYPOINT ["nginx"]
15+
CMD []

0 commit comments

Comments
 (0)