File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ node_modules
2+ .git
3+ .next
Original file line number Diff line number Diff line change @@ -194,6 +194,8 @@ jobs:
194194 name : gubbins-web
195195 path : /tmp/gubbins-web
196196 retention-days : 1
197+ include-hidden-files : true
198+
197199 # ----------------------------------------------------------------------------#
198200 # In the following jobs, you should: #
199201 # - Replace /tmp/gubbins-web with the path to your extension source code #
Original file line number Diff line number Diff line change 44# Stage 1: Build the Next.js application
55FROM node:alpine AS build
66WORKDIR /app
7- # Copy the application to the working directory
7+
8+ # Copy the package.json and package-lock.json files to the working directory
89COPY package*.json ./
9- COPY packages/diracx-web ./packages/diracx-web
10- COPY packages/diracx-web-components ./packages/diracx-web-components
10+ COPY packages/diracx-web/package*.json ./packages/diracx-web/
11+ COPY packages/diracx-web-components/package*.json ./packages/diracx-web-components/
1112# Install the project dependencies
12- RUN npm ci
13+ RUN npm ci && npm cache clean --force
14+ # Copy the application to the working directory
15+ COPY . .
1316# Build the static export with telemetry disabled (https://nextjs.org/telemetry)
1417RUN NEXT_TELEMETRY_DISABLED=1 npm run build
1518
Original file line number Diff line number Diff line change 1+ node_modules
2+ .git
3+ .next
Original file line number Diff line number Diff line change 44# Stage 1: Build the Next.js application
55FROM node:alpine AS build
66WORKDIR /app
7+
8+ # Copy the package.json and package-lock.json files to the working directory
9+ COPY package*.json ./
10+ # =============================================================================
11+ # This line is not necessary in your extension
12+ # -----------------------------------------------------------------------------
13+ COPY diracx-web-components.tgz ./
14+ # =============================================================================
15+
16+ # Install the project dependencies
17+ RUN npm ci && npm cache clean --force
718# Copy the application to the working directory
819COPY . .
9- # Install the project dependencies
10- RUN npm ci
1120# Build the static export with telemetry disabled (https://nextjs.org/telemetry)
1221RUN NEXT_TELEMETRY_DISABLED=1 npm run build
1322
You can’t perform that action at this time.
0 commit comments