fix composer install need deps during build
This commit is contained in:
@@ -24,7 +24,7 @@ COPY . .
|
||||
COPY --from=node-builder /build/public/css /var/www/public/css
|
||||
COPY --from=node-builder /build/public/js /var/www/public/js
|
||||
|
||||
RUN composer install --no-dev --optimize-autoloader && \
|
||||
RUN composer install --no-dev --optimize-autoloader --no-scripts && \
|
||||
chmod -R 775 storage bootstrap/cache && \
|
||||
chown -R www-data:www-data storage bootstrap/cache public/img
|
||||
|
||||
|
||||
Reference in New Issue
Block a user