From 2ee2632556d6db65b71b44a7f1fd9cc1173391ba Mon Sep 17 00:00:00 2001 From: Marcos Date: Mon, 24 Aug 2026 13:28:27 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Auto-deploy:=20BrainWind=20atual?= =?UTF-8?q?izado=20em=2024/08/2026=2013:28:27?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/nixpacks.toml | 5 +++++ app/package.json | 1 + nixpacks.toml | 11 +++++++++++ 3 files changed, 17 insertions(+) create mode 100644 app/nixpacks.toml create mode 100644 nixpacks.toml diff --git a/app/nixpacks.toml b/app/nixpacks.toml new file mode 100644 index 0000000..1c1a3ea --- /dev/null +++ b/app/nixpacks.toml @@ -0,0 +1,5 @@ +[phases.setup] +nixPkgs = ["nodejs_23"] + +[start] +cmd = "npx --yes serve@latest -s dist" diff --git a/app/package.json b/app/package.json index 0c0a924..876956b 100644 --- a/app/package.json +++ b/app/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "vite", "build": "tsc -b && vite build", + "start": "npx --yes serve@latest -s dist", "lint": "oxlint", "preview": "vite preview", "test": "npm run test:engenharia && npm run test:sistema", diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 0000000..9a41042 --- /dev/null +++ b/nixpacks.toml @@ -0,0 +1,11 @@ +[phases.setup] +nixPkgs = ["nodejs_23"] + +[phases.install] +cmds = ["cd app && npm install"] + +[phases.build] +cmds = ["cd app && npm run build"] + +[start] +cmd = "cd app && npx --yes serve@latest -s dist"