- Move Astro files from dealplustech-astro/ to project root - Update Dockerfile: PORT environment variable (default 80) - Add vite.config.ts with allowedHosts: true - Matches nixpacks behavior for Easypanel deployment - No hardcoded ports or domains
14 lines
235 B
TypeScript
14 lines
235 B
TypeScript
/**
|
|
Check if the process is running inside a Docker container.
|
|
|
|
@example
|
|
```
|
|
import isDocker from 'is-docker';
|
|
|
|
if (isDocker()) {
|
|
console.log('Running inside a Docker container');
|
|
}
|
|
```
|
|
*/
|
|
export default function isDocker(): boolean;
|