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 4684981 commit 3a186b4Copy full SHA for 3a186b4
docker/web/Dockerfile
@@ -12,6 +12,8 @@ RUN echo "Include /usr/local/apache2/conf/vhost.conf" \
12
# Copy nginx config
13
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
14
15
-# avahi
+# setup avahi
16
RUN printf "[server]\nenable-dbus=no\n" >> /etc/avahi/avahi-daemon.conf
17
-RUN update-rc.d avahi-daemon defaults
+
18
+# run avahi and the web server
19
+CMD avahi-daemon --daemonize --no-drop-root; httpd -DFOREGROUND || nginx -g "daemon off;"
0 commit comments