feat: updade workspace

This commit is contained in:
thanhnv
2026-07-11 15:56:31 +09:00
parent 4fc72332f5
commit 193a449829
120 changed files with 868 additions and 350 deletions
+6 -6
View File
@@ -10,19 +10,19 @@ ARG VITE_API_BASE_URL=/api/v1
ENV VITE_API_BASE_URL=$VITE_API_BASE_URL
COPY package.json package-lock.json ./
COPY frontend/package.json ./frontend/
COPY backend/package.json ./backend/
COPY apps/okr/frontend/package.json ./apps/okr/frontend/
COPY apps/okr/backend/package.json ./apps/okr/backend/
RUN npm ci -w frontend
RUN npm ci -w @ainative-okr/frontend
COPY frontend ./frontend
COPY apps/okr/frontend ./apps/okr/frontend
RUN npm run build -w frontend
RUN npm run build -w @ainative-okr/frontend
# ─── Stage 2: nginx runtime ──────────────────────────────────────────────────
FROM nginx:alpine AS runtime
COPY --from=builder /app/frontend/dist /usr/share/nginx/html
COPY --from=builder /app/apps/okr/frontend/dist /usr/share/nginx/html
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80