Skip to content

Commit 0896aba

Browse files
committed
Adds artisan
1 parent 3b047ae commit 0896aba

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docker-compose.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,18 @@ services:
6464
volumes:
6565
- ./src:/var/www/html
6666
working_dir: /var/www/html
67-
entrypoint: ['npm', '--no-bin-links']
67+
entrypoint: ['npm', '--no-bin-links']
68+
69+
artisan:
70+
build:
71+
context: .
72+
dockerfile: Dockerfile
73+
container_name: artisan
74+
volumes:
75+
- ./src:/var/www/html
76+
depends_on:
77+
- mysql
78+
working_dir: /var/www/html
79+
entrypoint: ['/var/www/html/artisan']
80+
networks:
81+
- laravel

0 commit comments

Comments
 (0)