Package Exports
- @rxap/plugin-docker
- @rxap/plugin-docker/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rxap/plugin-docker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@rxap/plugin-docker
Installation
Add the package to your workspace:
yarn add @rxap/plugin-dockerExecute the init generator:
yarn nx g @rxap/plugin-docker:initExecute the config generator to use the package with a project:
yarn nx g @rxap/plugin-docker:config [project]Generators
config
Add the executor 'docker' to the selected project and add generic depend on rules to nx.json
yarn nx g @rxap/plugin-docker:configgitlab-ci
gitlab-ci generator
yarn nx g @rxap/plugin-docker:gitlab-ciinit
Initialize the package in the workspace
yarn nx g @rxap/plugin-docker:initconfig
Add the executor 'docker' to the selected project and add generic depend on rules to nx.json
yarn nx g @rxap/plugin-docker:configgitlab-ci
gitlab-ci generator
yarn nx g @rxap/plugin-docker:gitlab-ciinit
Initialize the package in the workspace
yarn nx g @rxap/plugin-docker:initExecutors
build
Executes the docker build command with the context set to the build output folder
project.json
{
"targets": {
"build": {
"executor": "@rxap/plugin-docker:build"
}
}
}save
Executes the docker save command for the latest image created with the build command
project.json
{
"targets": {
"save": {
"executor": "@rxap/plugin-docker:save"
}
}
}