add nixpacks config
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# nixpacks.toml
|
||||
|
||||
# 1. Define the build phase to compile your Astro static files
|
||||
[phases.build]
|
||||
cmds = ["npm run build"]
|
||||
|
||||
# 2. Tell Nixpacks how to run the web server and keep the container alive
|
||||
[start]
|
||||
cmd = "npx serve dist --port 3000"
|
||||
Reference in New Issue
Block a user