From 3a719c5aeadf1acb73e7cd25db34cd51953d39e7 Mon Sep 17 00:00:00 2001 From: ordinarthur <@arthurbarre.js@gmail.com> Date: Sun, 12 Apr 2026 12:03:25 +0200 Subject: [PATCH] fix: remove tsc -b from Dockerfile, let Vite handle TS compilation Vite uses esbuild for TypeScript and resolves the @/ path alias via vite.config.ts. Standalone tsc cannot resolve @/ without baseUrl/paths which are deprecated in TS7. Dropping tsc from the build is the clean fix. Co-Authored-By: Claude Opus 4.6 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7a8aebf..8adda28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN npm ci COPY . . ARG VITE_SUPABASE_URL ARG VITE_SUPABASE_ANON_KEY -RUN ./node_modules/.bin/tsc -b && ./node_modules/.bin/vite build +RUN ./node_modules/.bin/vite build FROM nginx:alpine COPY --from=build /app/dist /usr/share/nginx/html