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 556328c commit 6fe90d0Copy full SHA for 6fe90d0
Dockerfile
@@ -8,10 +8,11 @@
8
FROM dockerfile/ubuntu
9
10
# Install Nginx.
11
-RUN add-apt-repository -y ppa:nginx/stable
12
-RUN apt-get update
13
-RUN apt-get install -y nginx
14
-RUN echo "\ndaemon off;" >> /etc/nginx/nginx.conf
+RUN \
+ add-apt-repository -y ppa:nginx/stable && \
+ apt-get update && \
+ apt-get install -y nginx && \
15
+ echo "\ndaemon off;" >> /etc/nginx/nginx.conf
16
17
# Define mountable directories.
18
VOLUME ["/data", "/etc/nginx/sites-enabled", "/var/log/nginx"]
0 commit comments