20 lines
1.5 KiB
Markdown
20 lines
1.5 KiB
Markdown
# document-phases
|
|
|
|
running as current user
|
|
|
|
docker run -u $(id -u):$(id -g) -i -t -v "$PWD":/usr/src/app -w /usr/src/app node:latest
|
|
|
|
docker run -u $(id -u):$(id -g) -i -t -v /home/giles/zone10/ft-batch:/ft-batch -v "$PWD":/usr/src/app -w /usr/src/app node:latest npm install
|
|
|
|
|
|
rm -rfv /home/giles/8tb/document/model/* && docker run -u $(id -u):$(id -g) -i -t -v /home/giles/8tb/document/model:/output -v /home/giles/8tb/ft-batch:/ft-batch -v "$PWD":/usr/src/app -w /usr/src/app node:latest npm run model /output /ft-batch/original.axml /ft-batch/equipment-model.axml /ft-batch/equipment-model.json
|
|
|
|
rm -rfv /home/giles/8tb/document/recipes/* && docker run -u $(id -u):$(id -g) -i -t -v /home/giles/8tb/document/recipes:/output -v /home/giles/8tb/ft-batch:/ft-batch -v "$PWD":/usr/src/app -w /usr/src/app node:latest npm run recipe /output /ft-batch/recipes-export /ft-batch/equipment-model.axml model
|
|
|
|
docker build . -t document-phases
|
|
|
|
rm -rfv /home/giles/8tb/document/model/* && docker run -u $(id -u):$(id -g) -i -t -v /home/giles/8tb/document/model:/output -v /home/giles/8tb/ft-batch:/ft-batch document-phases:latest model /output /ft-batch/original.axml /ft-batch/equipment-model.axml /ft-batch/equipment-model.json
|
|
|
|
rm -rfv /home/giles/8tb/document/recipes/* && docker run -u $(id -u):$(id -g) -i -t -v /home/giles/8tb/document/recipes:/output -v /home/giles/8tb/ft-batch:/ft-batch document-phases:latest recipe /output /ft-batch/recipes-export /ft-batch/equipment-model.axml model
|
|
|