This commit is contained in:
TheGiddyLimit
2024-05-06 22:16:09 +01:00
parent dcd236b006
commit b4b85ccb5d
2 changed files with 7 additions and 3 deletions

View File

@@ -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/