diff --git a/examples/lighttpd.sh b/examples/lighttpd.sh index 7975ff99c8..e1517c2174 100755 --- a/examples/lighttpd.sh +++ b/examples/lighttpd.sh @@ -10,8 +10,8 @@ buildah run $ctr1 -- dnf install -y lighttpd buildah config --annotation "com.example.build.host=$(uname -n)" $ctr1 ## Run our server and expose the port -buildah config $ctr1 --cmd "/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf" -buildah config $ctr1 --port 80 +buildah config --cmd "/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf" $ctr1 +buildah config --port 80 $ctr1 ## Commit this container to an image name buildah commit $ctr1 ${2:-$USER/lighttpd}