diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 8fc157f1..6c83541f 100755 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -21,6 +21,7 @@ COPY package.json package-lock.json* ./ # ถ้ามี lock ใช้ npm ci; ถ้าไม่มีก็ npm i RUN if [ -f package-lock.json ]; then npm ci --no-audit --no-fund; else npm install --no-audit --no-fund; fi + # เพิ่ม shadcn/ui + tailwind deps RUN npm install -D tailwindcss postcss autoprefixer shadcn@latest \ && npm install class-variance-authority clsx framer-motion lucide-react tailwind-merge tailwindcss-animate diff --git a/frontend/jsconfig.json b/frontend/jsconfig.json index 4d214dfa..8808d194 100755 --- a/frontend/jsconfig.json +++ b/frontend/jsconfig.json @@ -1,6 +1,9 @@ { "compilerOptions": { "baseUrl": ".", - "paths": {"@/*": ["*"]} - } + "paths": { + "@/*": ["./*"] + } + }, + "exclude": ["node_modules", ".next"] }