Skip to content

Commit 31f10bd

Browse files
Merge pull request #1079 from credebl/develop-dco-fixed
merge: Develop to Qa
2 parents 0d3b7b7 + 575de0f commit 31f10bd

16 files changed

+63
-46
lines changed

Dockerfiles/Dockerfile.agent-provisioning

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ WORKDIR /app
1717
# Copy package.json and package-lock.json
1818
COPY package.json ./
1919

20-
# Install dependencies
21-
RUN pnpm i
20+
ENV PUPPETEER_SKIP_DOWNLOAD=true
21+
22+
# Install dependencies while ignoring scripts (including Puppeteer's installation)
23+
RUN pnpm i --ignore-scripts
2224

2325
# Copy the rest of the application code
2426
COPY . .

Dockerfiles/Dockerfile.agent-service

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ WORKDIR /app
1515
# Copy package.json and package-lock.json
1616
COPY package.json ./
1717

18-
# Install dependencies
19-
RUN pnpm i
18+
ENV PUPPETEER_SKIP_DOWNLOAD=true
19+
20+
# Install dependencies while ignoring scripts (including Puppeteer's installation)
21+
RUN pnpm i --ignore-scripts
2022

2123
# Copy the rest of the application code
2224
COPY . .
@@ -36,7 +38,7 @@ RUN npm install -g pnpm --ignore-scripts \
3638
&& apk add docker \
3739
&& apk add docker-compose
3840

39-
RUN npm install -g pnpm
41+
# RUN npm install -g pnpm
4042
# Set the working directory
4143
WORKDIR /app
4244

Dockerfiles/Dockerfile.api-gateway

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ WORKDIR /app
88
COPY package.json ./
99
# COPY package-lock.json ./
1010

11-
# Install dependencies
12-
RUN pnpm i
11+
ENV PUPPETEER_SKIP_DOWNLOAD=true
12+
13+
# Install dependencies while ignoring scripts (including Puppeteer's installation)
14+
RUN pnpm i --ignore-scripts
1315

1416
# Copy the rest of the application code
1517
COPY . .
@@ -21,7 +23,7 @@ RUN pnpm run build api-gateway
2123

2224
# Stage 2: Create the final image
2325
FROM node:18-alpine
24-
RUN npm install -g pnpm
26+
# RUN npm install -g pnpm
2527
# Set the working directory
2628
WORKDIR /app
2729

Dockerfiles/Dockerfile.cloud-wallet

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ WORKDIR /app
1010
# Copy package.json and package-lock.json
1111
COPY package.json ./
1212

13-
# Install dependencies
14-
RUN pnpm install
13+
ENV PUPPETEER_SKIP_DOWNLOAD=true
14+
15+
# Install dependencies while ignoring scripts (including Puppeteer's installation)
16+
RUN pnpm i --ignore-scripts
1517

1618
# Copy the rest of the application code
1719
COPY . .
@@ -28,7 +30,7 @@ RUN apt-get update -y
2830
RUN apt-get --no-install-recommends install -y openssl
2931
# Set the working directory
3032
WORKDIR /app
31-
RUN npm install -g pnpm
33+
# RUN npm install -g pnpm
3234

3335
# Copy the compiled code from the build stage
3436
COPY --from=build /app/dist/apps/cloud-wallet/ ./dist/apps/cloud-wallet/

Dockerfiles/Dockerfile.connection

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ WORKDIR /app
88
COPY package.json ./
99
#COPY package-lock.json ./
1010

11-
# Install dependencies
12-
RUN pnpm i
11+
ENV PUPPETEER_SKIP_DOWNLOAD=true
12+
13+
# Install dependencies while ignoring scripts (including Puppeteer's installation)
14+
RUN pnpm i --ignore-scripts
1315

1416
# Copy the rest of the application code
1517
COPY . .
@@ -21,7 +23,7 @@ RUN pnpm run build connection
2123

2224
# Stage 2: Create the final image
2325
FROM node:18-alpine
24-
RUN npm install -g pnpm
26+
# RUN npm install -g pnpm
2527
# Set the working directory
2628
WORKDIR /app
2729

Dockerfiles/Dockerfile.geolocation

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ WORKDIR /app
88
COPY package.json ./
99
#COPY package-lock.json ./
1010

11-
# Install dependencies
12-
RUN pnpm i
11+
ENV PUPPETEER_SKIP_DOWNLOAD=true
12+
13+
# Install dependencies while ignoring scripts (including Puppeteer's installation)
14+
RUN pnpm i --ignore-scripts
1315

1416
# Copy the rest of the application code
1517
COPY . .
@@ -21,7 +23,7 @@ RUN pnpm run build geo-location
2123

2224
# Stage 2: Create the final image
2325
FROM node:18-alpine
24-
RUN npm install -g pnpm
26+
# RUN npm install -g pnpm
2527
# Set the working directory
2628
WORKDIR /app
2729

Dockerfiles/Dockerfile.issuance

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ WORKDIR /app
88
COPY package.json ./
99
#COPY package-lock.json ./
1010

11-
# Install dependencies
12-
RUN pnpm i
11+
ENV PUPPETEER_SKIP_DOWNLOAD=true
12+
13+
# Install dependencies while ignoring scripts (including Puppeteer's installation)
14+
RUN pnpm i --ignore-scripts
1315

1416
# Copy the rest of the application code
1517
COPY . .
@@ -21,7 +23,7 @@ RUN pnpm run build issuance
2123

2224
# Stage 2: Create the final image
2325
FROM node:18-alpine
24-
RUN npm install -g pnpm
26+
# RUN npm install -g pnpm
2527
# Set the working directory
2628
WORKDIR /app
2729

Dockerfiles/Dockerfile.ledger

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ WORKDIR /app
88
COPY package.json ./
99
#COPY package-lock.json ./
1010

11-
# Install dependencies
12-
RUN pnpm i
11+
ENV PUPPETEER_SKIP_DOWNLOAD=true
12+
13+
# Install dependencies while ignoring scripts (including Puppeteer's installation)
14+
RUN pnpm i --ignore-scripts
1315

1416
# Copy the rest of the application code
1517
COPY . .
@@ -22,7 +24,7 @@ RUN npm run build ledger
2224

2325
# Stage 2: Create the final image
2426
FROM node:18-alpine
25-
RUN npm install -g pnpm
27+
# RUN npm install -g pnpm
2628
# Set the working directory
2729
WORKDIR /app
2830

Dockerfiles/Dockerfile.notification

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN npm run build notification
2222

2323
# Stage 2: Create the final image
2424
FROM node:18-alpine
25-
RUN npm install -g pnpm --ignore-scripts
25+
# RUN npm install -g pnpm --ignore-scripts
2626
# Set the working directory
2727
WORKDIR /app
2828

Dockerfiles/Dockerfile.organization

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ WORKDIR /app
77
# Copy package.json and package-lock.json
88
COPY package.json ./
99

10-
# Install dependencies
11-
RUN pnpm i
10+
ENV PUPPETEER_SKIP_DOWNLOAD=true
11+
12+
# Install dependencies while ignoring scripts (including Puppeteer's installation)
13+
RUN pnpm i --ignore-scripts
1214

1315
# Copy the rest of the application code
1416
COPY . .
@@ -22,7 +24,7 @@ RUN pnpm run build organization
2224

2325
# Stage 2: Create the final image
2426
FROM node:18-alpine
25-
RUN npm install -g pnpm
27+
# RUN npm install -g pnpm
2628
# Set the working directory
2729
WORKDIR /app
2830

0 commit comments

Comments
 (0)