Inception/srcs/requirements/static-site/Dockerfile
2025-07-17 18:24:39 +02:00

10 lines
263 B
Docker

FROM alpine:3.20
RUN apk add --no-cache lighttpd && \
rm -rf /var/cache/apk/*
# Copy your static site files into the web root
COPY site/ /var/www/localhost/htdocs/
# Run Lighttpd in the foreground
CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]