ci: add --ignore-scripts to Dockerfiles to prevent hanging on Prisma engine downloads
Some checks are pending
Deploy Canina / deploy (push) Has started running

This commit is contained in:
parsa aghaei 2026-08-18 21:55:14 +03:30
parent a2b8c91cf9
commit 78ea486964
4 changed files with 547 additions and 547 deletions

View File

@ -12,7 +12,7 @@ RUN if [ -n "$NPM_REGISTRY" ]; then \
fi fi
COPY frontend/application/package*.json ./ COPY frontend/application/package*.json ./
RUN npm ci --include=dev --prefer-offline --no-audit RUN npm ci --include=dev --prefer-offline --no-audit --ignore-scripts
COPY frontend/application ./ COPY frontend/application ./
ARG NEXT_PUBLIC_API_URL ARG NEXT_PUBLIC_API_URL
ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
@ -31,7 +31,7 @@ RUN if [ -n "$NPM_REGISTRY" ]; then \
fi fi
COPY frontend/admin-panel/package*.json ./ COPY frontend/admin-panel/package*.json ./
RUN npm ci --include=dev --prefer-offline --no-audit RUN npm ci --include=dev --prefer-offline --no-audit --ignore-scripts
COPY frontend/admin-panel ./ COPY frontend/admin-panel ./
ARG VITE_API_URL ARG VITE_API_URL
ENV VITE_API_URL=$VITE_API_URL ENV VITE_API_URL=$VITE_API_URL

View File

@ -14,7 +14,7 @@ RUN if [ -n "$NPM_REGISTRY" ]; then \
fi fi
COPY package*.json ./ COPY package*.json ./
RUN npm ci --prefer-offline --no-audit RUN npm ci --prefer-offline --no-audit --ignore-scripts
COPY . . COPY . .
RUN rm -rf dist && ./node_modules/.bin/prisma generate && npm run build RUN rm -rf dist && ./node_modules/.bin/prisma generate && npm run build

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff