- Add Tailwind CSS for styling and custom theme variables. - Create HTML structure for the dashboard with dark mode support. - Implement database schema for bug reports and associated files using Drizzle ORM. - Set up database connection with MySQL and environment variables. - Create utility functions for class names, byte formatting, and date formatting. - Develop error handling page for the dashboard. - Implement layout and routing for the dashboard, including pagination and filtering for bug reports. - Create API endpoints for downloading reports and files. - Add functionality for viewing, updating, and deleting bug reports. - Set up Docker configuration for the dashboard service. - Include TypeScript configuration and Vite setup for the project.
10 lines
207 B
Docker
10 lines
207 B
Docker
FROM oven/bun:alpine
|
|
WORKDIR /app
|
|
COPY package.json bun.lock* ./
|
|
RUN bun install --frozen-lockfile || bun install
|
|
COPY . .
|
|
RUN bun run build
|
|
ENV NODE_ENV=production
|
|
EXPOSE 3000
|
|
CMD ["bun", "build/index.js"]
|