Easy develove <3 Orochi Network
You can set BASE_REVISION environment variable to specify a version of the given script
curl -sL https://raw.githubusercontent.com/orochi-network/dev-off/main/check-gpg.sh | bashDocker template help our CI/CD alway up to date
All repo must include ./scripts/build-prod.sh, this will be used to build for building images.
-t | --template: Template to use, now we supportnodeandnginxnode: Using for Node.js applicationnginx: Using for React.js application or startic website
-f | --file: Selected file to copy-c | --command: Command to be executed default to["yarn", "start"]
curl -sL https://raw.githubusercontent.com/orochi-network/dev-off/main/dockerfile.sh | bash -- -t node -f package.json -f node_modules -f build -c "[\"yarn\", \"start\"]"Build result MUST be in ./build
curl -sL https://raw.githubusercontent.com/orochi-network/dev-off/main/dockerfile.sh | bash -- -t nginx