Update frontend new build dev, proc 3

This commit is contained in:
admin
2025-09-29 16:39:13 +07:00
parent b7260357af
commit 709d18199c

View File

@@ -19,7 +19,7 @@ ENV TZ=Asia/Bangkok \
FROM base AS deps
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 i --no-audit --no-fund; fi
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 \