File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1717 ENVIRONMENT : ' {{.ENVIRONMENT | default "development"}}'
1818 STACK_NAME : ' {{.STACK | default "angular"}}'
1919 FOLDERLAMPY : ' {{.FOLDERLAMPY | default "lampy"}}'
20- DOCKERCOMPOSEFILE : ' {{.DOCKERCOMPOSEFILE | default "docker-compose.yml"}}'
20+ DOCKERCOMPOSEFILE : ' {{.DOCKERCOMPOSEFILE | default "docker-compose-lampy .yml"}}'
2121
2222tasks :
2323 default :
8888 create:apps :
8989 desc : " Crée une nouvelle application Angular dans le dossier apps"
9090 cmds :
91- - docker run --rm -v $(pwd)/install:/var/www -w /var/www node:22.12.0 ./launch.sh
92- - cp -r install/apps .
91+ - docker run --rm -v $(pwd):/var/www -w /var/www $(awk '/www:/ {f=1} f && /image:/ {print $2; exit}' {{.DOCKERCOMPOSEFILE}}) ./launch.sh
9392
9493 angular:exec :
9594 desc : " Exécute une commande dans un conteneur en cours d'exécution"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments