add drizzle config so container can migrate db
This commit is contained in:
@@ -19,6 +19,8 @@ FROM base AS runtime
|
|||||||
COPY package.json bun.lock ./
|
COPY package.json bun.lock ./
|
||||||
RUN bun install --frozen-lockfile --production
|
RUN bun install --frozen-lockfile --production
|
||||||
COPY --from=build /app/build build
|
COPY --from=build /app/build build
|
||||||
|
COPY drizzle.config.ts ./
|
||||||
|
COPY src/lib/server/db/schema.ts src/lib/server/db/auth.schema.ts src/lib/server/db/
|
||||||
|
|
||||||
USER bun
|
USER bun
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|||||||
Reference in New Issue
Block a user