()
| 35 | } |
| 36 | |
| 37 | function buildDockerImage(): void { |
| 38 | const DOCKER_DIR = dirname(fileURLToPath(import.meta.url)) |
| 39 | |
| 40 | console.log('🔨 Building TrailBase Docker image...') |
| 41 | execSync(`docker build -t trailbase-e2e ${DOCKER_DIR}`, { |
| 42 | stdio: 'inherit', |
| 43 | }) |
| 44 | console.log('✓ Docker image built') |
| 45 | } |
| 46 | |
| 47 | function cleanupExistingContainer(): void { |
| 48 | try { |