diff --git a/lighttpd-alpine/Dockerfile b/lighttpd-alpine/Dockerfile new file mode 100644 index 0000000..4669744 --- /dev/null +++ b/lighttpd-alpine/Dockerfile @@ -0,0 +1,8 @@ +FROM alpine:latest + +# Install lighttpd +RUN apk add lighttpd + +# Run lighttpd in foreground with config file /etc/lighttpd/lighttpd.conf +USER root +CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"] \ No newline at end of file diff --git a/lighttpd-alpine/build.sh b/lighttpd-alpine/build.sh new file mode 100755 index 0000000..2cf1c8b --- /dev/null +++ b/lighttpd-alpine/build.sh @@ -0,0 +1,2 @@ +docker pull alpine:latest +docker build --no-cache -t lighttpd-alpine . \ No newline at end of file