diff --git a/api/Dockerfile b/api/Dockerfile index c5e8c62..de5f6d0 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -36,10 +36,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local RUN groupadd -g 1000 www RUN useradd -u 1000 -ms /bin/bash -g www www -# Copy existing application directory contents -COPY . /var/www - -# Copy existing application directory permissions +# Copy existing application directory contents with correct permissions COPY --chown=www:www . /var/www # Copy PHP configuration