mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-10-25 17:13:47 +00:00
Added --ignore-scripts to npm ci commands for lefthook script to not takeplace upon build
This commit is contained in:
@@ -9,7 +9,7 @@ COPY --chown=node:node backend/ /app/backend/
|
||||
|
||||
WORKDIR /app/backend
|
||||
|
||||
RUN npm ci &&\
|
||||
RUN npm ci --ignore-scripts &&\
|
||||
npx prisma generate &&\
|
||||
npm prune --omit=dev &&\
|
||||
npm cache clean --force
|
||||
|
||||
@@ -5,7 +5,7 @@ WORKDIR /app
|
||||
COPY package*.json ./
|
||||
COPY frontend/package*.json ./frontend/
|
||||
|
||||
RUN npm ci
|
||||
RUN npm ci --ignore-scripts
|
||||
|
||||
COPY frontend/ ./frontend/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user