diff --git a/packages/api/src/utility/platformInfo.js b/packages/api/src/utility/platformInfo.js index 523228e6..e2e35e89 100644 --- a/packages/api/src/utility/platformInfo.js +++ b/packages/api/src/utility/platformInfo.js @@ -7,7 +7,7 @@ const platform = p.env.OS_OVERRIDE ? p.env.OS_OVERRIDE : p.platform; const isWindows = platform === 'win32'; const isMac = platform === 'darwin'; const isLinux = platform === 'linux'; -const isDocker = fs.existsSync('/home/dbgate-docker/build'); +const isDocker = fs.existsSync('/home/dbgate-docker/public'); const isDevMode = p.env.DEVMODE == '1'; const isNpmDist = p.argv[2] == 'startNodeWeb';