Vendor opencode source for docker build
This commit is contained in:
23
opencode/sst.config.ts
Normal file
23
opencode/sst.config.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
/// <reference path="./.sst/platform/config.d.ts" />
|
||||
|
||||
export default $config({
|
||||
app(input) {
|
||||
return {
|
||||
name: "opencode",
|
||||
removal: input?.stage === "production" ? "retain" : "remove",
|
||||
protect: ["production"].includes(input?.stage),
|
||||
home: "cloudflare",
|
||||
providers: {
|
||||
stripe: {
|
||||
apiKey: process.env.STRIPE_SECRET_KEY!,
|
||||
},
|
||||
planetscale: "0.4.1",
|
||||
},
|
||||
}
|
||||
},
|
||||
async run() {
|
||||
await import("./infra/app.js")
|
||||
await import("./infra/console.js")
|
||||
await import("./infra/enterprise.js")
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user