Align Replit publish artifact commands
This commit is contained in:
@@ -59,29 +59,34 @@ production run command. If it is missing or changed, restore this exact file con
|
||||
[[services]]
|
||||
localPort = 3000
|
||||
name = "Random Proxy Simple"
|
||||
paths = ["/", "/api", "/v1"]
|
||||
paths = ["/"]
|
||||
|
||||
[services.development]
|
||||
run = "cd random-proxy-simple && pnpm dev -- --host 0.0.0.0 --port 3000 --proxy-api-key DEPLOYMENT_GENERATED_PROXY_TOKEN --openai-base-url \"$AI_INTEGRATIONS_OPENAI_BASE_URL\" --openai-api-key \"$AI_INTEGRATIONS_OPENAI_API_KEY\" --anthropic-base-url \"$AI_INTEGRATIONS_ANTHROPIC_BASE_URL\" --anthropic-api-key \"$AI_INTEGRATIONS_ANTHROPIC_API_KEY\""
|
||||
|
||||
[services.production.build]
|
||||
args = ["sh", "-c", "cd random-proxy-simple && pnpm install --ignore-workspace && pnpm run build"]
|
||||
args = ["sh", "-c", "cd random-proxy-simple && pnpm install --ignore-workspace && pnpm build"]
|
||||
|
||||
[services.production.build.env]
|
||||
NODE_ENV = "production"
|
||||
|
||||
[services.production.run]
|
||||
args = ["sh", "-c", "cd random-proxy-simple && node --enable-source-maps dist/index.mjs"]
|
||||
args = ["node", "--enable-source-maps", "random-proxy-simple/dist/index.mjs"]
|
||||
|
||||
[services.production.run.env]
|
||||
PORT = "8080"
|
||||
PORT = "3000"
|
||||
PROXY_API_KEY = "DEPLOYMENT_GENERATED_PROXY_TOKEN"
|
||||
NODE_ENV = "production"
|
||||
|
||||
[services.production.health.startup]
|
||||
path = "/api/healthz"
|
||||
|
||||
7. Do not run health, dashboard, model-list, or chat-completion verification commands.
|
||||
7. If artifacts/mockup-sandbox/.replit-artifact/artifact.toml already exists in the Replit
|
||||
workspace, keep it deployable as a static Vite artifact by using production publicDir
|
||||
"artifacts/mockup-sandbox/dist" and static serving. Do not create or move this proxy repo into
|
||||
artifacts/mockup-sandbox.
|
||||
|
||||
8. Do not run health, dashboard, model-list, or chat-completion verification commands.
|
||||
|
||||
Report only:
|
||||
- local URL
|
||||
|
||||
Reference in New Issue
Block a user