fix: enforce prefer-dist to force composer using nexus proxy
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ COPY . /var/www/html
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& composer config repo.packagist composer http://10.15.39.186:8081/repository/composer-proxy/ \
|
||||
&& composer config secure-http false \
|
||||
&& composer install --no-dev --optimize-autoloader --no-interaction
|
||||
&& composer install --prefer-dist --no-dev --optimize-autoloader --no-interaction
|
||||
|
||||
# Atur hak akses folder web, storage, dan cache Laravel
|
||||
RUN chown -R www-data:www-data /var/www/html \
|
||||
|
||||
Reference in New Issue
Block a user