Skip to content

Commit

Permalink
chore: add registration part 2 nx container config
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmueller committed Jun 6, 2024
1 parent 4f731a0 commit e28e39e
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 2 deletions.
62 changes: 61 additions & 1 deletion bciers/apps/registration/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,65 @@
"projectType": "application",
"tags": [],
"// targets": "to see all targets run: nx show project registration --web",
"targets": {}
"targets": {
"build": {
"executor": "@nx/next:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "dev",
"options": {
"outputPath": "dist/registration",
"experimentalAppOnly": true
}
},
"start": {
"executor": "@nx/next:server",
"options": {
"buildTarget": "registration:build",
"port": 3000,
"dev": false
}
},
"container": {
"executor": "@nx-tools/nx-container:build",
"dependsOn": ["build"],
"defaultConfiguration": "dev",
"options": {
"engine": "docker",
"context": "dist/registration",
"file": "apps/registration/Dockerfile",
"tags": ["cas-registration:latest"]
}
},
"lint": {
"executor": "@nx/eslint:lint",
"options": {}
},
"e2e": {
"executor": "nx:run-commands",
"options": {
"cwd": "apps/registration",
"command": "happo-e2e -- playwright test"
}
},
"e2e:ui": {
"executor": "nx:run-commands",
"options": {
"cwd": "apps/registration",
"command": "happo-e2e -- playwright test --ui"
}
},
"e2e:report": {
"executor": "nx:run-commands",
"options": {
"cwd": "apps/registration",
"command": "playwright show-report"
}
},
"e2e:sequential": {
"executor": "nx:run-commands",
"options": {
"command": "playwright test --workers=1 client/e2e/*"
}
}
}
}
2 changes: 1 addition & 1 deletion bciers/apps/registration1/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"engine": "docker",
"context": "dist/registration1",
"file": "apps/registration1/Dockerfile",
"tags": ["cas-registration:latest"]
"tags": ["cas-registration1:latest"]
}
},
"lint": {
Expand Down

0 comments on commit e28e39e

Please sign in to comment.