Skip to content

Commit 5abfce1

Browse files
committed
Update config
1 parent 2e2f90a commit 5abfce1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Taskfile.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ vars:
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

2222
tasks:
2323
default:
@@ -88,8 +88,7 @@ tasks:
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.

0 commit comments

Comments
 (0)