mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
fix(sso): add missing deps to db container for running script (#2746)
This commit is contained in:
2
bun.lock
2
bun.lock
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"lockfileVersion": 1,
|
||||
"configVersion": 0,
|
||||
"workspaces": {
|
||||
"": {
|
||||
"name": "simstudio",
|
||||
@@ -249,6 +250,7 @@
|
||||
"dependencies": {
|
||||
"drizzle-orm": "^0.44.5",
|
||||
"postgres": "^3.4.5",
|
||||
"uuid": "^11.1.0",
|
||||
"zod": "^3.24.2",
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -32,6 +32,9 @@ RUN addgroup -g 1001 -S nodejs && \
|
||||
# Copy only the necessary files from deps (cached if dependencies don't change)
|
||||
COPY --from=deps --chown=nextjs:nodejs /app/node_modules ./node_modules
|
||||
|
||||
# Copy root package.json for workspace resolution
|
||||
COPY --chown=nextjs:nodejs package.json ./package.json
|
||||
|
||||
# Copy package configuration files (needed for migrations)
|
||||
COPY --chown=nextjs:nodejs packages/db/drizzle.config.ts ./packages/db/drizzle.config.ts
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
"dependencies": {
|
||||
"drizzle-orm": "^0.44.5",
|
||||
"postgres": "^3.4.5",
|
||||
"uuid": "^11.1.0",
|
||||
"zod": "^3.24.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* SSO provider records into the database, following the exact same logic
|
||||
* as Better Auth's registerSSOProvider endpoint.
|
||||
*
|
||||
* Usage: bun run packages/db/register-sso-provider.ts
|
||||
* Usage: bun run packages/db/scripts/register-sso-provider.ts
|
||||
*
|
||||
* Required Environment Variables:
|
||||
* SSO_ENABLED=true
|
||||
|
||||
Reference in New Issue
Block a user