Optimize chown
This commit is contained in:
parent
17cfb7dfd7
commit
dcf33f56cf
1 changed files with 3 additions and 4 deletions
|
|
@ -59,9 +59,8 @@ RUN composer install --no-dev --optimize-autoloader --no-interaction
|
|||
COPY --from=frontend-builder /app/public/build/ ./public/build/
|
||||
|
||||
# Set proper permissions
|
||||
RUN chown -R www-data:www-data /var/www/html \
|
||||
&& chmod -R 755 /var/www/html/storage \
|
||||
&& chmod -R 755 /var/www/html/bootstrap/cache
|
||||
RUN chown -R www-data:www-data storage bootstrap/cache public/build \
|
||||
&& chmod -R 755 storage bootstrap/cache
|
||||
|
||||
# Create a startup script
|
||||
RUN echo '#!/bin/sh' > /usr/local/bin/start-app \
|
||||
|
|
|
|||
Loading…
Reference in a new issue