Skip to content

Commit

Permalink
Artisan doesn't need the frontend build. This will speed up container…
Browse files Browse the repository at this point in the history
… builds
  • Loading branch information
bryangruneberg committed Nov 11, 2020
1 parent 1291870 commit 2b0a0ea
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions docker/php-7.1/Dockerfile.artisan-worker
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ FROM amazeeio/php:7.1-cli
COPY lagoon/php-worker.ini /usr/local/etc/php/php.ini
COPY . /app
RUN composer install --no-dev --prefer-dist
RUN yarn install
RUN npm run dev

ENV APP_ENV=${LAGOON_ENVIRONMENT_TYPE}
ENV WEBROOT=public
Expand Down
2 changes: 0 additions & 2 deletions docker/php-7.2/Dockerfile.artisan-worker
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ FROM amazeeio/php:7.2-cli
COPY lagoon/php-worker.ini /usr/local/etc/php/php.ini
COPY . /app
RUN composer install --no-dev --prefer-dist
RUN yarn install
RUN npm run dev

ENV APP_ENV=${LAGOON_ENVIRONMENT_TYPE}
ENV WEBROOT=public
Expand Down
2 changes: 0 additions & 2 deletions docker/php-7.3/Dockerfile.artisan-worker
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ FROM amazeeio/php:7.3-cli
COPY lagoon/php-worker.ini /usr/local/etc/php/php.ini
COPY . /app
RUN composer install --no-dev --prefer-dist
RUN yarn install
RUN npm run dev

ENV APP_ENV=${LAGOON_ENVIRONMENT_TYPE}
ENV WEBROOT=public
Expand Down
2 changes: 0 additions & 2 deletions docker/php-7.4/Dockerfile.artisan-worker
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ FROM amazeeio/php:7.4-cli
COPY lagoon/php-worker.ini /usr/local/etc/php/php.ini
COPY . /app
RUN composer install --no-dev --prefer-dist
RUN yarn install
RUN npm run dev

ENV APP_ENV=${LAGOON_ENVIRONMENT_TYPE}
ENV WEBROOT=public
Expand Down

0 comments on commit 2b0a0ea

Please sign in to comment.