diff --git a/Dockerfile b/Dockerfile index 324fe43..acb138b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM oven/bun AS base +FROM oven/bun:1-alpine AS base # Install dependencies only when needed FROM base AS deps @@ -25,7 +25,7 @@ COPY prisma/ ./prisma/ RUN bunx prisma generate -ENV NEXT_TELEMETRY_DISABLED 1 +ENV NEXT_TELEMETRY_DISABLED=1 RUN bun run build @@ -33,8 +33,8 @@ RUN bun run build FROM base AS runner WORKDIR /app -ENV NODE_ENV production -ENV NEXT_TELEMETRY_DISABLED 1 +ENV NODE_ENV=production +ENV NEXT_TELEMETRY_DISABLED=1 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs @@ -52,7 +52,7 @@ USER nextjs EXPOSE 3000 -ENV PORT 3000 -ENV HOSTNAME "0.0.0.0" +ENV PORT=3000 +ENV HOSTNAME="0.0.0.0" CMD ["node", "server.js"] diff --git a/bun.lockb b/bun.lockb index 2379a45..6b051cc 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index bf507d2..8e5a339 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@radix-ui/react-scroll-area": "^1.2.2", "@radix-ui/react-select": "^2.1.4", "@radix-ui/react-separator": "^1.1.1", - "@radix-ui/react-slot": "^1.1.1", + "@radix-ui/react-slot": "^1.1.2", "@serwist/next": "^9.0.11", "@serwist/precaching": "^9.0.11", "@serwist/sw": "^9.0.11", @@ -44,7 +44,7 @@ "next": "15.1.2", "next-themes": "^0.4.4", "react": "^19.0.0", - "react-day-picker": "^9.4.4", + "react-day-picker": "8.10.1", "react-dom": "^19.0.0", "react-hook-form": "^7.54.2", "sonner": "^1.7.1", diff --git a/src/components/ui/calendar.tsx b/src/components/ui/calendar.tsx index c465642..ae0a208 100644 --- a/src/components/ui/calendar.tsx +++ b/src/components/ui/calendar.tsx @@ -46,7 +46,7 @@ function Calendar({ 'bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground', day_today: 'bg-accent text-accent-foreground', day_outside: - 'day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30', + 'day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground', day_disabled: 'text-muted-foreground opacity-50', day_range_middle: 'aria-selected:bg-accent aria-selected:text-accent-foreground', @@ -54,8 +54,12 @@ function Calendar({ ...classNames, }} components={{ - IconLeft: ({...props}) => , - IconRight: ({...props}) => , + IconLeft: ({className, ...props}) => ( + + ), + IconRight: ({className, ...props}) => ( + + ), }} {...props} />