readme
Build with ncc / build (push) Successful in 32s Details

This commit is contained in:
gilesb 2023-11-20 19:57:29 +00:00
parent cc2292c94f
commit 97c1ed821b
1 changed files with 5 additions and 16 deletions

View File

@ -1,19 +1,8 @@
# document-phases # document-phases
running as current user ## inputs
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
* document - folder for documents
* model - equipment model file
* opc - opc file
* recipes - recipes folder