ensure permissions on nextcloud dirs
This commit is contained in:
parent
328b3b585c
commit
50d140b056
2 changed files with 3 additions and 4 deletions
|
@ -101,8 +101,6 @@ RUN tar xzf release.tar.gz -C /var/lib/nextcloud/apps/sociallogin --strip 1
|
|||
|
||||
FROM thallian/php8-fpm:latest
|
||||
|
||||
COPY --from=builder /var/lib/nextcloud /var/lib/nextcloud
|
||||
|
||||
ENV FPMUSER=nginx
|
||||
ENV FPMGROUP=nginx
|
||||
ENV PHP_MEMORY_LIMIT=512M
|
||||
|
@ -138,7 +136,8 @@ RUN apk add --no-cache \
|
|||
php8-bcmath \
|
||||
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
|
||||
|
||||
ADD /rootfs /
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue