We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 289e4c5 commit bc55a9fCopy full SHA for bc55a9f
Dockerfile
@@ -45,8 +45,10 @@ cd /tmp/nginx && \
45
--with-pcre \
46
--with-google_perftools_module \
47
--with-debug && \
48
-make && make install
+make && \
49
+make install
50
51
+ADD ./run//bootstrap.sh /opt/bootstrap.sh
52
EXPOSE 80 443
53
-CMD ["/bin/bash", "nginx && sleep 5 && tail -f /var/log/nginx/access.log /var/log/nginx/error.log" ]
54
+CMD ["/bin/bash", "/opt/bootstrap.sh" ]
run/bootstrap.sh
@@ -0,0 +1,4 @@
1
+#!/bin/bash
2
+
3
+nginx && \
4
+tail -f /var/log/nginx/access.log /var/log/nginx/error.log
0 commit comments