From e94f4b0f8c4028ed2a7984f4f503190da85af66e Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 22 Sep 2024 04:50:59 -0500 Subject: [PATCH] Add nixpacks build command fix via Railway CoC --- .gitignore | 3 ++- railway.json | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 railway.json diff --git a/.gitignore b/.gitignore index c2111fc..e74699d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .env -.vscode \ No newline at end of file +.vscode +/main \ No newline at end of file diff --git a/railway.json b/railway.json new file mode 100644 index 0000000..57542b2 --- /dev/null +++ b/railway.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://railway.app/railway.schema.json", + "build": { + "buildCommand": "go build -o out ./cmd/main" + }, + "deploy": { + "restartPolicyMaxRetries": 3 + } +} \ No newline at end of file