Skip to content
RED SAG Skills
medium10 pts · first answer countsdockerperformance

Slow Docker builds after every change

Every small code change makes this build reinstall all npm packages. How do you fix it?

FROM node:22-alpine
WORKDIR /app
COPY . .
RUN npm ci
CMD ["node", "server.js"]
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions