Integrate chown command to copy
This commit is contained in:
parent
74cbe348de
commit
327d5ba4af
2 changed files with 2 additions and 5 deletions
|
@ -10,12 +10,10 @@ FROM git.zontreck.com/packages/adk:latest
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
ENV PATH $PATH:/flutter/bin
|
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 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 --disable-analytics
|
||||||
RUN /flutter/bin/flutter doctor
|
RUN /flutter/bin/flutter doctor
|
||||||
RUN /flutter/bin/flutter precache
|
RUN /flutter/bin/flutter precache
|
||||||
|
|
|
@ -27,11 +27,10 @@ ENV NEXTCLOUD_VERSION 30.0.6
|
||||||
|
|
||||||
WORKDIR /var/www/
|
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
|
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
|
COPY ./upload.ini /etc/php/8.2/apache2/conf.d/upload.ini
|
||||||
|
|
||||||
WORKDIR /etc/apache2/sites-enabled
|
WORKDIR /etc/apache2/sites-enabled
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue