Skip to content

Commit 4cd6942

Browse files
committed
fix(Dockerfile): reorder build steps for clarity and maintainability
1 parent 0915726 commit 4cd6942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ ENV DATABASE_URL="file:./dev.db"
2828
RUN \
2929
# TODO: This initalizes the database. But we should probably remove this later.
3030
pnpm --filter server prisma migrate reset --force && \
31-
# Build the monorepo packages
32-
pnpm build && \
3331
# Generate the prisma client
3432
pnpm --filter server prisma generate && \
33+
# Build the monorepo packages
34+
pnpm build && \
3535
# Build the server.
3636
pnpm --filter server build && \
3737
# Create an isolated deployment for the server.

0 commit comments

Comments
 (0)