ensure permissions on nextcloud dirs
This commit is contained in:
parent
328b3b585c
commit
50d140b056
@ -101,8 +101,6 @@ RUN tar xzf release.tar.gz -C /var/lib/nextcloud/apps/sociallogin --strip 1
|
|||||||
|
|
||||||
FROM thallian/php8-fpm:latest
|
FROM thallian/php8-fpm:latest
|
||||||
|
|
||||||
COPY --from=builder /var/lib/nextcloud /var/lib/nextcloud
|
|
||||||
|
|
||||||
ENV FPMUSER=nginx
|
ENV FPMUSER=nginx
|
||||||
ENV FPMGROUP=nginx
|
ENV FPMGROUP=nginx
|
||||||
ENV PHP_MEMORY_LIMIT=512M
|
ENV PHP_MEMORY_LIMIT=512M
|
||||||
@ -138,7 +136,8 @@ RUN apk add --no-cache \
|
|||||||
php8-bcmath \
|
php8-bcmath \
|
||||||
php8-gmp
|
php8-gmp
|
||||||
|
|
||||||
RUN chown -R nginx:nginx /var/lib/nextcloud
|
COPY --from=builder --chown=nginx:nginx /var/lib/nextcloud /var/lib/nextcloud
|
||||||
|
|
||||||
RUN rm /etc/nginx/http.d/default.conf
|
RUN rm /etc/nginx/http.d/default.conf
|
||||||
|
|
||||||
ADD /rootfs /
|
ADD /rootfs /
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
/var/lib/nextcloud/ true nginx 0640 0750
|
/var/lib/nextcloud/data true nginx 0640 0750
|
||||||
/var/lib/nextcloud/config true nginx 0640 0750
|
/var/lib/nextcloud/config true nginx 0640 0750
|
||||||
|
Loading…
Reference in New Issue
Block a user