File tree Expand file tree Collapse file tree 14 files changed +62
-38
lines changed
apps/agent-provisioning/AFJ/scripts Expand file tree Collapse file tree 14 files changed +62
-38
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ WORKDIR /app
17
17
# Copy package.json and package-lock.json
18
18
COPY package.json ./
19
19
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
22
24
23
25
# Copy the rest of the application code
24
26
COPY . .
Original file line number Diff line number Diff line change @@ -15,8 +15,10 @@ WORKDIR /app
15
15
# Copy package.json and package-lock.json
16
16
COPY package.json ./
17
17
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
20
22
21
23
# Copy the rest of the application code
22
24
COPY . .
@@ -36,7 +38,7 @@ RUN npm install -g pnpm --ignore-scripts \
36
38
&& apk add docker \
37
39
&& apk add docker-compose
38
40
39
- RUN npm install -g pnpm
41
+ # RUN npm install -g pnpm
40
42
# Set the working directory
41
43
WORKDIR /app
42
44
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ WORKDIR /app
8
8
COPY package.json ./
9
9
# COPY package-lock.json ./
10
10
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
13
15
14
16
# Copy the rest of the application code
15
17
COPY . .
@@ -21,7 +23,7 @@ RUN pnpm run build api-gateway
21
23
22
24
# Stage 2: Create the final image
23
25
FROM node:18-alpine
24
- RUN npm install -g pnpm
26
+ # RUN npm install -g pnpm
25
27
# Set the working directory
26
28
WORKDIR /app
27
29
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ WORKDIR /app
10
10
# Copy package.json and package-lock.json
11
11
COPY package.json ./
12
12
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
15
17
16
18
# Copy the rest of the application code
17
19
COPY . .
@@ -28,7 +30,7 @@ RUN apt-get update -y
28
30
RUN apt-get --no-install-recommends install -y openssl
29
31
# Set the working directory
30
32
WORKDIR /app
31
- RUN npm install -g pnpm
33
+ # RUN npm install -g pnpm
32
34
33
35
# Copy the compiled code from the build stage
34
36
COPY --from=build /app/dist/apps/cloud-wallet/ ./dist/apps/cloud-wallet/
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ WORKDIR /app
8
8
COPY package.json ./
9
9
#COPY package-lock.json ./
10
10
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
13
15
14
16
# Copy the rest of the application code
15
17
COPY . .
@@ -21,7 +23,7 @@ RUN pnpm run build connection
21
23
22
24
# Stage 2: Create the final image
23
25
FROM node:18-alpine
24
- RUN npm install -g pnpm
26
+ # RUN npm install -g pnpm
25
27
# Set the working directory
26
28
WORKDIR /app
27
29
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ WORKDIR /app
8
8
COPY package.json ./
9
9
#COPY package-lock.json ./
10
10
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
13
15
14
16
# Copy the rest of the application code
15
17
COPY . .
@@ -21,7 +23,7 @@ RUN pnpm run build geo-location
21
23
22
24
# Stage 2: Create the final image
23
25
FROM node:18-alpine
24
- RUN npm install -g pnpm
26
+ # RUN npm install -g pnpm
25
27
# Set the working directory
26
28
WORKDIR /app
27
29
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ WORKDIR /app
8
8
COPY package.json ./
9
9
#COPY package-lock.json ./
10
10
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
13
15
14
16
# Copy the rest of the application code
15
17
COPY . .
@@ -21,7 +23,7 @@ RUN pnpm run build issuance
21
23
22
24
# Stage 2: Create the final image
23
25
FROM node:18-alpine
24
- RUN npm install -g pnpm
26
+ # RUN npm install -g pnpm
25
27
# Set the working directory
26
28
WORKDIR /app
27
29
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ WORKDIR /app
8
8
COPY package.json ./
9
9
#COPY package-lock.json ./
10
10
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
13
15
14
16
# Copy the rest of the application code
15
17
COPY . .
@@ -22,7 +24,7 @@ RUN npm run build ledger
22
24
23
25
# Stage 2: Create the final image
24
26
FROM node:18-alpine
25
- RUN npm install -g pnpm
27
+ # RUN npm install -g pnpm
26
28
# Set the working directory
27
29
WORKDIR /app
28
30
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ RUN npm run build notification
22
22
23
23
# Stage 2: Create the final image
24
24
FROM node:18-alpine
25
- RUN npm install -g pnpm --ignore-scripts
25
+ # RUN npm install -g pnpm --ignore-scripts
26
26
# Set the working directory
27
27
WORKDIR /app
28
28
Original file line number Diff line number Diff line change @@ -7,8 +7,10 @@ WORKDIR /app
7
7
# Copy package.json and package-lock.json
8
8
COPY package.json ./
9
9
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
12
14
13
15
# Copy the rest of the application code
14
16
COPY . .
@@ -22,7 +24,7 @@ RUN pnpm run build organization
22
24
23
25
# Stage 2: Create the final image
24
26
FROM node:18-alpine
25
- RUN npm install -g pnpm
27
+ # RUN npm install -g pnpm
26
28
# Set the working directory
27
29
WORKDIR /app
28
30
You can’t perform that action at this time.
0 commit comments