From 9881689aae3e78de19a11fa157ba27cf0c7e269a Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Thu, 24 Jan 2019 10:11:18 +0100 Subject: Update Dockerfile to use tyil/http-static image --- Dockerfile | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 916f9b8..4db3107 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,4 @@ -FROM alpine:latest +FROM tyil/http-static -RUN apk add lighttpd \ - && rm -rf /var/www \ - && mkdir /var/www \ - && rm -rf /etc/lighttpd \ - && mkdir /etc/lighttpd - -COPY .docker/lighttpd.conf /etc/lighttpd/lighttpd.conf -COPY .docker/mime.conf /etc/lighttpd/mime.conf COPY _site /var/www - -CMD lighttpd -D -f /etc/lighttpd/lighttpd.conf +COPY .docker/lighttpd.conf /etc/lighttpd/custom.conf -- cgit v1.1