feat(docker): Check for /app/config volume mount during setup (#826)

This commit is contained in:
TheCatLady
2021-02-03 20:45:30 -05:00
committed by GitHub
parent 035534e9fe
commit 1e5f88f462
7 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import { existsSync } from 'fs';
import path from 'path';
const DOCKER_PATH = path.join(__dirname, '../../config/DOCKER');
export const appDataStatus = (): boolean => {
return !existsSync(DOCKER_PATH);
};