Skip to content

Commit 91b8bef

Browse files
committed
Build apps directly instead of using turbo
1 parent ad0e95d commit 91b8bef

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile.frontend

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ COPY apps/collabydraw ./apps/collabydraw
1616
# Install dependencies (postinstall will run prisma generate automatically)
1717
RUN npm install --legacy-peer-deps
1818

19-
# Build the application
20-
WORKDIR /app
19+
# Build the frontend application directly
20+
WORKDIR /app/apps/collabydraw
2121
RUN npm run build
2222

23+
WORKDIR /app
24+
2325
# Production stage
2426
FROM node:20-alpine AS runner
2527

0 commit comments

Comments
 (0)