MCPcopy
hub / github.com/Dokploy/dokploy / validateBuildpacks

Function validateBuildpacks

packages/server/src/setup/server-validate.ts:53–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 fi
52`;
53export const validateBuildpacks = () => `
54 if command_exists pack; then
55 version=$(pack --version | awk '{print $1}')
56 if [ -n "$version" ]; then
57 echo "$version true"
58 else
59 echo "0.0.0 false"
60 fi
61 else
62 echo "0.0.0 false"
63 fi
64`;
65
66export const validateMainDirectory = () => `
67 if [ -d "/etc/dokploy" ]; then

Callers 1

serverValidateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected