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 supportnode,next,nginxandstrapinode: Using for Node.js applicationnext: Using for Next.js applicationnginx: Using for React.js application or static websitestrapi: Using for Strapi headless CMS (glibc runnernode:22-trixie-slim, EXPOSE 1337)
-f | --file: Selected file to copy-c | --command: Command to be executed, default to["npm", "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