Skip to content

Commit dd51674

Browse files
committed
chore(ci): npm ci --ignore-scripts
1 parent 8f90792 commit dd51674

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

alcs-frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /app
88
COPY package.json package-lock.json ./
99

1010
# Install dependencies
11-
RUN npm ci
11+
RUN npm ci --ignore-scripts
1212

1313
# Copy the source code to the /app directory
1414
COPY . .

portal-frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /app
88
COPY package.json package-lock.json ./
99

1010
# Install dependencies
11-
RUN npm ci
11+
RUN npm ci --ignore-scripts
1212

1313
# Copy the source code to the /app directory
1414
COPY . .

services/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ WORKDIR /opt/app-root/
99

1010
COPY --chown=node:node package*.json ./
1111

12-
RUN npm ci
12+
RUN npm ci --ignore-scripts
1313

1414
COPY --chown=node:node . .
1515

@@ -32,7 +32,7 @@ COPY --chown=node:node . .
3232

3333
RUN npm run build ${NEST_APP}
3434

35-
RUN npm ci --only=production && npm cache clean --force
35+
RUN npm ci --ignore-scripts --only=production && npm cache clean --force
3636

3737
USER node
3838

@@ -65,4 +65,4 @@ RUN mkdir -p /vault/secrets
6565
RUN touch /vault/secrets/config
6666
RUN . /vault/secrets/config
6767

68-
CMD [ "node", "dist/main.js" ]
68+
CMD [ "node", "dist/main.js" ]

services/Dockerfile.local

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ RUN chown node:node /opt/app-root/
55

66
COPY --chown=node:node package*.json ./
77

8-
RUN npm ci
8+
RUN npm ci --ignore-scripts
99

1010
COPY --chown=node:node . .
1111

12-
CMD ["npm", "run", "start:dev"]
12+
CMD ["npm", "run", "start:dev"]

services/Dockerfile.migrate

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN npm config set cache $/opt/app-root/.npm
1313

1414
COPY package*.json ./
1515

16-
RUN npm ci
16+
RUN npm ci --ignore-scripts
1717

1818
ARG environment=production
1919

@@ -24,4 +24,4 @@ ENV NEST_APP=${NEST_APP}
2424

2525
COPY . .
2626

27-
CMD [ "./migrate.sh" ]
27+
CMD [ "./migrate.sh" ]

0 commit comments

Comments
 (0)