We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d56582 commit fca8707Copy full SHA for fca8707
1 file changed
dashboard.Dockerfile
@@ -31,9 +31,12 @@ RUN bun run build
31
FROM oven/bun:1-slim
32
33
# Copy built files from builder
34
-COPY --from=builder /build/apps/dashboard /app
35
WORKDIR /app
36
+COPY --from=builder /build/node_modules ./node_modules
37
+COPY --from=builder /build/apps/dashboard ./apps/dashboard
38
+COPY --from=builder /build/packages ./packages
39
+
40
# Set environment variables
41
ENV NODE_ENV=production
42
ENV REDIS_URL=redis://localhost
@@ -43,5 +46,6 @@ ENV NEXT_PUBLIC_API_URL=https://localhost
43
46
44
47
# Expose port
45
48
EXPOSE 3000
49
+WORKDIR /app/apps/dashboard
50
# Start API
51
CMD ["bun", "run", "start"]
0 commit comments