Skip to content

Commit

Permalink
remove unecessary step
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiritin committed Jul 22, 2024
1 parent c543493 commit ebbe599
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ USER www-data
######################################################
COPY .github/docker/php/opcache.ini $PHP_INI_DIR/conf.d/opcache.ini
COPY .github/docker/php/php.ini $PHP_INI_DIR/conf.d/php.ini

######################################################
# Step 6 | Configure Credentials & Hosts for external Git (optional)
######################################################
COPY composer.json composer.lock /app/
RUN composer install --no-dev --no-scripts --no-autoloader
######################################################
# Local Stage
######################################################
Expand All @@ -37,7 +31,7 @@ FROM base as local
######################################################
FROM base as vite-vendor-build
WORKDIR /app
RUN COMPOSER_ALLOW_SUPERUSER=1 | rm composer.lock composer.json && composer require tightenco/ziggy:^2 --ignore-platform-reqs
RUN COMPOSER_ALLOW_SUPERUSER=1 | composer require tightenco/ziggy:^2 --ignore-platform-reqs
######################################################
# NodeJS Stage
######################################################
Expand Down

0 comments on commit ebbe599

Please sign in to comment.