diff --git a/.dockerignore b/.dockerignore index 51f838ac..8ab102ee 100644 --- a/.dockerignore +++ b/.dockerignore @@ -8,6 +8,7 @@ !book !characters !charcreationoptions +!classes !conditionsdiseases !covers !decks @@ -17,6 +18,7 @@ !items !languages !objects +!pdf !plutonium !races !recipes diff --git a/Dockerfile b/Dockerfile index 78802ba6..32b45ea1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,11 @@ FROM alpine RUN apk update && apk add lighttpd rsync -COPY docker/lighttpd.conf docker/mime-types.conf /etc/lighttpd/ - CMD [ "lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf" ] EXPOSE 80 -COPY . /var/www/localhost/htdocs/img/ +WORKDIR /var/www/localhost/htdocs + +COPY . img/ + +RUN mv img/docker/lighttpd.conf img/docker/mime-types.conf /etc/lighttpd/ && rm -rf img/docker/