Added nextcloud without fpm

This commit is contained in:
2024-07-23 11:48:53 +02:00
parent 65baccd402
commit bb096004f5
8 changed files with 162 additions and 13 deletions
+13
View File
@@ -0,0 +1,13 @@
FROM nextcloud
ARG UID=1000
ARG GID=1000
#RUN adduser --system --no-create-home --home /nonexistent --gecos 'www-data user' --shell /bin/false --uid 82 www-data
RUN usermod -u $UID -o www-data
RUN apt update \
&& apt -y install libmagickcore-6.q16-6-extra ffmpeg imagemagick ghostscript \
&& apt clean
# Add custom cron job for previews
RUN echo '*/15 * * * * php /var/www/html/occ preview:pre-generate' >> /var/spool/cron/crontabs/www-data