mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 11:35:56 +08:00
3029b277f1
Signed-off-by: szaimen <szaimen@e.mail.de>
15 lines
378 B
Docker
15 lines
378 B
Docker
FROM alpine:3.15.0
|
|
RUN apk add --update --no-cache lighttpd bash
|
|
|
|
RUN adduser -S www-data -G www-data
|
|
RUN rm -rf /etc/lighttpd/lighttpd.conf
|
|
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
|
|
RUN chmod +r -R /etc/lighttpd && \
|
|
chown www-data:www-data -R /var/www
|
|
|
|
COPY start.sh /
|
|
RUN chmod +x /start.sh
|
|
|
|
USER www-data
|
|
RUN mkdir -p /var/www/domaincheck/
|
|
ENTRYPOINT ["/start.sh"]
|