Use start script for artifact production
This commit is contained in:
@@ -19,8 +19,9 @@ run = "pnpm --filter proxy-artifact run prod"
|
|||||||
|
|
||||||
[services.production]
|
[services.production]
|
||||||
build = [ "pnpm", "--filter", "proxy-artifact", "run", "build:fast" ]
|
build = [ "pnpm", "--filter", "proxy-artifact", "run", "build:fast" ]
|
||||||
run = [ "sh", "-c", "NODE_ENV=production node --enable-source-maps dist/index.mjs" ]
|
run = [ "pnpm", "--filter", "proxy-artifact", "run", "start" ]
|
||||||
|
|
||||||
[services.env]
|
[services.env]
|
||||||
PORT = "26002"
|
PORT = "26002"
|
||||||
BASE_PATH = "/"
|
BASE_PATH = "/"
|
||||||
|
NODE_ENV = "production"
|
||||||
|
|||||||
Reference in New Issue
Block a user