Add lighttpd-alpine Dockerfiles

This commit is contained in:
Julia 2022-03-05 23:01:53 +01:00
parent 28a8633c65
commit 6822a3b61f
2 changed files with 10 additions and 0 deletions

View file

@ -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"]

2
lighttpd-alpine/build.sh Executable file
View file

@ -0,0 +1,2 @@
docker pull alpine:latest
docker build --no-cache -t lighttpd-alpine .