Skip to content

Commit fca8707

Browse files
committed
updated dashboard file
1 parent 0d56582 commit fca8707

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

dashboard.Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ RUN bun run build
3131
FROM oven/bun:1-slim
3232

3333
# Copy built files from builder
34-
COPY --from=builder /build/apps/dashboard /app
3534
WORKDIR /app
3635

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+
3740
# Set environment variables
3841
ENV NODE_ENV=production
3942
ENV REDIS_URL=redis://localhost
@@ -43,5 +46,6 @@ ENV NEXT_PUBLIC_API_URL=https://localhost
4346

4447
# Expose port
4548
EXPOSE 3000
49+
WORKDIR /app/apps/dashboard
4650
# Start API
4751
CMD ["bun", "run", "start"]

0 commit comments

Comments
 (0)