Skip to content

Commit 2934480

Browse files
committed
fix: correct Prisma paths in Dockerfile for apps/web
- Updated Prisma schema and config paths to align with the apps/web directory structure. - Adjusted `PRISMA_SCHEMA_PATH` environment variable accordingly.
1 parent f1f6a20 commit 2934480

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ COPY --from=build /app/apps/web/.next/static ./apps/web/.next/static
8686
# Public assets used at runtime
8787
COPY --from=build /app/apps/web/public ./apps/web/public
8888
# Copy prisma schema and migrations
89-
COPY ./packages/db/prisma ./prisma
90-
COPY ./packages/db/prisma.config.ts /app/apps/web/prisma.config.ts
89+
COPY ./packages/db/prisma ./apps/web/prisma
90+
COPY ./packages/db/prisma.config.ts ./apps/web/prisma.config.ts
9191

9292
# The app listens on PORT (defaults to 3000)
9393
ENV PORT=3000
9494
# Path to Prisma schema (copied from packages/db/prisma)
95-
ENV PRISMA_SCHEMA_PATH=/app/prisma/schema.prisma
95+
ENV PRISMA_SCHEMA_PATH=/app/apps/web/prisma/schema.prisma
9696
EXPOSE 3000
9797

9898
# Switch to the app directory inside standalone output and run the server

0 commit comments

Comments
 (0)