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

Function validateNixpacks

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

Source from the content-addressed store, hash-verified

26`;
27
28export const validateNixpacks = () => `
29 if command_exists nixpacks; then
30 version=$(nixpacks --version | awk '{print $2}')
31 if [ -n "$version" ]; then
32 echo "$version true"
33 else
34 echo "0.0.0 false"
35 fi
36 else
37 echo "0.0.0 false"
38 fi
39`;
40
41export const validateRailpack = () => `
42 if command_exists railpack; then

Callers 1

serverValidateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected