Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ FROM base AS build
ENV DATABASE_URL="file:/data/production.sqlite"
RUN \
# TODO: This initalizes the database. But we should probably remove this later.
# pnpm --filter server prisma migrate reset --force && \
# pnpm --filter server-new prisma migrate reset --force && \
Comment on lines 29 to +30
Copy link

Copilot AI Sep 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The TODO comment mentions removing the database initialization later, but changing from 'server' to 'server-new' while keeping this as a commented line may cause confusion. Consider updating the TODO to reflect that this applies to the new server package, or remove the outdated comment entirely.

Copilot uses AI. Check for mistakes.

# Build the monorepo packages
pnpm build && \
# Generate the prisma client
pnpm --filter server prisma generate && \
pnpm --filter server-new prisma generate && \
# Build the server.
pnpm --filter server build && \
pnpm --filter server-new build && \
# Create an isolated deployment for the server.
pnpm --filter server deploy --prod deployment --legacy && \
pnpm --filter server-new deploy --prod deployment --legacy && \
# Move the runtime build artifacts into a separate directory.
mkdir -p deployment/out && mv deployment/dist deployment/node_modules deployment/package.json deployment/out && \
# Add prisma client in dist
Expand Down
Loading