Skip to content

Commit

Permalink
cache dependencies in s390x docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
  • Loading branch information
andreasgerstmayr committed Oct 10, 2024
1 parent 7a94ee3 commit fa38e84
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
FROM node:20.18.0

WORKDIR /workspace
COPY . .

RUN npm ci && cd ./packages/jaeger-ui && npm run build
COPY package.json package.json
COPY package-lock.json package-lock.json
COPY packages/jaeger-ui/package.json packages/jaeger-ui/package.json
COPY packages/plexus/package.json packages/plexus/package.json
RUN npm ci

COPY . .
RUN npm run build

0 comments on commit fa38e84

Please sign in to comment.