We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3dddf8 commit a12807dCopy full SHA for a12807d
Dockerfile
@@ -28,6 +28,10 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
28
# Copy project files
29
COPY . .
30
31
+# Set correct permissions for storage and cache directories
32
+RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache && \
33
+ chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache
34
+
35
# Install PHP dependencies
36
RUN composer install --no-interaction --prefer-dist --optimize-autoloader
37
0 commit comments