mirror of
				https://github.com/open-webui/openapi-servers
				synced 2025-06-26 18:17:04 +00:00 
			
		
		
		
	Fixed permissions error when attempting write to /app/memory.json
This commit is contained in:
		
							parent
							
								
									5239cdf4c1
								
							
						
					
					
						commit
						608ec8fd72
					
				| @ -38,6 +38,9 @@ RUN --mount=type=cache,target=/root/.cache/pip \ | |||||||
|     --mount=type=bind,source=requirements.txt,target=requirements.txt \ |     --mount=type=bind,source=requirements.txt,target=requirements.txt \ | ||||||
|     python -m pip install -r requirements.txt |     python -m pip install -r requirements.txt | ||||||
| 
 | 
 | ||||||
|  | # Change the ownership of /app directory and its contents to appuser | ||||||
|  | RUN chown -R ${UID}:${UID} /app | ||||||
|  | 
 | ||||||
| # Switch to the non-privileged user to run the application. | # Switch to the non-privileged user to run the application. | ||||||
| USER appuser | USER appuser | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user