Skip to content

Commit

Permalink
Also cache the layer that does the npm install.
Browse files Browse the repository at this point in the history
  • Loading branch information
DFINITYManu committed Aug 22, 2024
1 parent eed8f37 commit b375301
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rollout-dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ WORKDIR /
COPY frontend/index.html frontend/*.json frontend/*.js frontend/*.ts ./
COPY frontend/public ./public
COPY frontend/src ./src
RUN npm install && npm run build
RUN npm install
RUN npm run build

FROM docker.io/debian:bookworm
WORKDIR /
Expand Down

0 comments on commit b375301

Please sign in to comment.