Integrate chown command to copy

This commit is contained in:
zontreck 2025-03-09 22:07:23 -07:00
parent 74cbe348de
commit 327d5ba4af
2 changed files with 2 additions and 5 deletions

View file

@ -27,11 +27,10 @@ ENV NEXTCLOUD_VERSION 30.0.6
WORKDIR /var/www/
COPY --from=BUILDER /var/www/html /var/www/htmlx
COPY --from=BUILDER --chown=www-data:www-data /var/www/html /var/www/htmlx
WORKDIR /var/www/htmlx
RUN chown -R www-data:www-data /var/www/htmlx
COPY ./upload.ini /etc/php/8.2/apache2/conf.d/upload.ini
WORKDIR /etc/apache2/sites-enabled