1 parent ad0e95d commit 91b8befCopy full SHA for 91b8bef
1 file changed
Dockerfile.frontend
@@ -16,10 +16,12 @@ COPY apps/collabydraw ./apps/collabydraw
16
# Install dependencies (postinstall will run prisma generate automatically)
17
RUN npm install --legacy-peer-deps
18
19
-# Build the application
20
-WORKDIR /app
+# Build the frontend application directly
+WORKDIR /app/apps/collabydraw
21
RUN npm run build
22
23
+WORKDIR /app
24
+
25
# Production stage
26
FROM node:20-alpine AS runner
27
0 commit comments