Update file Dockerfile
This commit is contained in:
parent
f781741a3d
commit
00ab3f3061
@ -29,9 +29,13 @@ COPY composer.json composer.lock ./
|
||||
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
||||
RUN composer install --no-dev --optimize-autoloader --no-interaction
|
||||
RUN composer install --no-dev --optimize-autoloader --no-interaction --no-scripts
|
||||
|
||||
# Copy source code terakhir
|
||||
COPY . .
|
||||
|
||||
RUN php artisan package:discover --ansi \
|
||||
&& php artisan optimize:clear
|
||||
|
||||
|
||||
RUN composer clear-cache
|
||||
|
||||
Loading…
Reference in New Issue
Block a user