Skip to content

Commit

Permalink
feat: adds docker-build target
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas committed Oct 10, 2023
1 parent d59cc33 commit 5926a9c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apps/metadata-editor/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@
"jestConfig": "apps/metadata-editor/jest.config.ts",
"passWithNoTests": true
}
},
"docker-build": {
"executor": "nx:run-commands",
"options": {
"commands": [
"nx build metadata-editor --base-href='/metadata-editor/'",
"docker build --build-arg APP_NAME=metadata-editor -f ./tools/docker/Dockerfile.apps . -t $(tools/print-docker-tag.sh metadata-editor)"
],
"parallel": false
}
}
},
"tags": ["type:app"]
Expand Down

0 comments on commit 5926a9c

Please sign in to comment.