# Assuming the current folder to be code-generator source root folder
cd docker
docker build --tag pytorchignite/codegenerator:dev .
cd ../Assumptions:
$PWDis code-generator source root folder- To replace
/host/path/to/datawith a path to the input data (for example CIFAR10 and/or VOCdevkit etc), e.g./mnt/data
# Assuming the current folder to be code-generator source root folder
docker run --name=codegen-dev -it -v $PWD:/code -w /code -v /host/path/to/data:/data --network=host --ipc=host pytorchignite/codegenerator:dev /bin/bashInside the container we can install all other project dependencies:
git config --global --add safe.directory /code
pnpm i --frozen-lockfile --color
pnpm build
bash scripts/run_code_style.sh install- Local app deployment
pnpm dev- Run ci tests locally
pnpm dev &
pnpm test
sh ./scripts/run_tests.sh unzip
sh ./scripts/run_tests.sh simple vision-classification