remove "pip3 cache purge" that causes error
This commit is contained in:
		
							parent
							
								
									00cc140acd
								
							
						
					
					
						commit
						d58be56cb9
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		|  | @ -12,15 +12,16 @@ RUN apk add --no-cache --virtual .build-deps make g++ python3 python3-dev && \ | ||||||
| 
 | 
 | ||||||
| # Install apprise | # Install apprise | ||||||
| RUN apk add --no-cache python3 py3-cryptography py3-pip py3-six py3-yaml py3-click py3-markdown py3-requests py3-requests-oauthlib | RUN apk add --no-cache python3 py3-cryptography py3-pip py3-six py3-yaml py3-click py3-markdown py3-requests py3-requests-oauthlib | ||||||
| RUN pip3 install apprise && \ | RUN pip3 --no-cache-dir install apprise && \ | ||||||
|     pip3 cache purge && \ |             rm -rf /root/.cache | ||||||
|     rm -rf /root/.cache |  | ||||||
| RUN apprise --version | RUN apprise --version | ||||||
| 
 | 
 | ||||||
| # New things add here | # New things add here | ||||||
| 
 | 
 | ||||||
| COPY . . | COPY . . | ||||||
| RUN npm install && npm run build && npm prune | RUN npm install && \ | ||||||
|  |             npm run build && \ | ||||||
|  |             npm prune | ||||||
| 
 | 
 | ||||||
| EXPOSE 3001 | EXPOSE 3001 | ||||||
| VOLUME ["/app/data"] | VOLUME ["/app/data"] | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue