mirror of
				https://github.com/goldbergyoni/nodebestpractices.git
				synced 2025-11-04 12:48:25 +08:00 
			
		
		
		
	Fix npm cache clean command
This commit is contained in:
		@ -19,7 +19,7 @@ Node package managers, npm & Yarn, cache the installed packages locally so that
 | 
				
			|||||||
FROM node:12-slim AS build
 | 
					FROM node:12-slim AS build
 | 
				
			||||||
WORKDIR /usr/src/app
 | 
					WORKDIR /usr/src/app
 | 
				
			||||||
COPY package.json package-lock.json ./
 | 
					COPY package.json package-lock.json ./
 | 
				
			||||||
RUN npm ci --production && npm clean cache --force
 | 
					RUN npm ci --production && npm cache clean --force
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# The rest comes here
 | 
					# The rest comes here
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user