fix: remove dev.db from git and configure Railway properly
This commit is contained in:
parent
aadb00dce7
commit
e6392da856
5 changed files with 9 additions and 17 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -33,3 +33,4 @@ vite.config.ts.timestamp-*
|
|||
storybook-static
|
||||
backups/
|
||||
server.log
|
||||
*.db
|
||||
|
|
|
|||
3
.npmrc
3
.npmrc
|
|
@ -1,2 +1 @@
|
|||
# Temporarily disabled for Railway build debugging
|
||||
# engine-strict=true
|
||||
engine-strict=true
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
[phases.setup]
|
||||
nixPkgs = ["nodejs_20"]
|
||||
|
||||
[phases.install]
|
||||
cmds = [
|
||||
"corepack enable",
|
||||
"corepack prepare pnpm@9.15.9 --activate",
|
||||
"pnpm install --frozen-lockfile"
|
||||
]
|
||||
|
||||
[phases.build]
|
||||
cmds = ["./scripts/railway-build.sh"]
|
||||
|
||||
[start]
|
||||
cmd = "pnpm run start"
|
||||
7
railway.toml
Normal file
7
railway.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[build]
|
||||
builder = "NIXPACKS"
|
||||
|
||||
[deploy]
|
||||
startCommand = "pnpm run start"
|
||||
restartPolicyType = "ON_FAILURE"
|
||||
restartPolicyMaxRetries = 10
|
||||
Loading…
Reference in a new issue