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

@ -10,12 +10,10 @@ FROM git.zontreck.com/packages/adk:latest
WORKDIR /
ENV PATH $PATH:/flutter/bin
COPY --from=FLUTTER /flutter /flutter
COPY --from=FLUTTER --chown=root:root /flutter /flutter
RUN curl -sO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && dpkg -i google-chrome-stable_current_amd64.deb && rm google-chrome*.deb
RUN chown -R root:root /flutter
RUN /flutter/bin/flutter --disable-analytics
RUN /flutter/bin/flutter doctor
RUN /flutter/bin/flutter precache

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