|  | @@ -1,20 +1,13 @@
 | 
	
		
			
				|  |  | -# pull official base image
 | 
	
		
			
				|  |  | -FROM node:13.12.0-alpine
 | 
	
		
			
				|  |  | +FROM node:12.13.0-alpine
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -# set working directory
 | 
	
		
			
				|  |  | -WORKDIR /src
 | 
	
		
			
				|  |  | +RUN apk add --no-cache git
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -# add `/app/node_modules/.bin` to $PATH
 | 
	
		
			
				|  |  | -ENV PATH /node_modules/.bin:$PATH
 | 
	
		
			
				|  |  | +COPY . /app
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -# install app dependencies
 | 
	
		
			
				|  |  | -COPY package.json ./
 | 
	
		
			
				|  |  | -COPY package-lock.json ./
 | 
	
		
			
				|  |  | -RUN npm install --silent
 | 
	
		
			
				|  |  | -RUN npm install react-scripts@3.4.1 -g --silent
 | 
	
		
			
				|  |  | +WORKDIR /app
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -# add app
 | 
	
		
			
				|  |  | -COPY . ./
 | 
	
		
			
				|  |  | +RUN rm package-lock.json
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -# start app
 | 
	
		
			
				|  |  | -CMD ["npm", "start"]
 | 
	
		
			
				|  |  | +RUN npm install
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +CMD ["npm", "start"]
 |