Skip to content

Commit 6c489d5

Browse files
committed
Adds laravel network to npm service
1 parent 9a6b731 commit 6c489d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ services:
7070
depends_on:
7171
- php
7272
user: laravel
73+
entrypoint: ['composer', '--ignore-platform-reqs']
7374
networks:
7475
- laravel
75-
entrypoint: ['composer', '--ignore-platform-reqs']
7676

7777
npm:
7878
image: node:13.7
@@ -81,6 +81,8 @@ services:
8181
- ./src:/var/www/html
8282
working_dir: /var/www/html
8383
entrypoint: ['npm']
84+
networks:
85+
- laravel
8486

8587
artisan:
8688
build:

0 commit comments

Comments
 (0)