fix(build): sync Dockerfile vite build fix to main
Some checks failed
Deploy Canina / deploy (push) Failing after 4m47s
Some checks failed
Deploy Canina / deploy (push) Failing after 4m47s
This commit is contained in:
commit
d85e2f1d32
@ -3,7 +3,7 @@ WORKDIR /app
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
ENV NEXT_PUBLIC_API_URL=https://api.canina.ir/api
|
||||
COPY frontend/application/package*.json ./
|
||||
RUN npm ci --prefer-offline --no-audit
|
||||
RUN npm ci --include=dev --prefer-offline --no-audit
|
||||
COPY frontend/application ./
|
||||
ARG NEXT_PUBLIC_API_URL
|
||||
ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
|
||||
@ -13,7 +13,7 @@ FROM node:20-alpine AS admin-builder
|
||||
WORKDIR /app
|
||||
ENV VITE_API_URL=https://api.canina.ir/api
|
||||
COPY frontend/admin-panel/package*.json ./
|
||||
RUN npm ci --prefer-offline --no-audit
|
||||
RUN npm ci --include=dev --prefer-offline --no-audit
|
||||
COPY frontend/admin-panel ./
|
||||
ARG VITE_API_URL
|
||||
ENV VITE_API_URL=$VITE_API_URL
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
"react-hot-toast": "^2.6.0",
|
||||
"react-router-dom": "^7.17.0",
|
||||
"recharts": "^3.8.1",
|
||||
"vite": "^8.0.12",
|
||||
"zustand": "^5.0.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -35,7 +36,6 @@
|
||||
"postcss": "^8.5.15",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"typescript": "~6.0.2",
|
||||
"typescript-eslint": "^8.59.2",
|
||||
"vite": "^8.0.12"
|
||||
"typescript-eslint": "^8.59.2"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user