Commit b66b849e authored by Phạm Quang Bảo's avatar Phạm Quang Bảo

Merge branch 'refactor/generate_api_and_fix_fallback_img' into 'develop-news'

fix build

See merge request !114
parents dfce45e0 e8cd033e
...@@ -13,9 +13,7 @@ RUN corepack enable && corepack prepare pnpm@latest --activate ...@@ -13,9 +13,7 @@ RUN corepack enable && corepack prepare pnpm@latest --activate
# Copy toàn bộ source (đã được .dockerignore lọc trừ node_modules / .next / openapi) # Copy toàn bộ source (đã được .dockerignore lọc trừ node_modules / .next / openapi)
COPY . . COPY . .
# Generate API client + build RUN npm run build
RUN node scripts/generate-api.mjs
RUN pnpm run build
# ----------------- Production stage ----------------- # ----------------- Production stage -----------------
FROM node:22-alpine AS production FROM node:22-alpine AS production
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment