mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 02:03:35 -04:00 
			
		
		
		
	backup bug fix
This commit is contained in:
		| @@ -3,7 +3,6 @@ FROM python:3 | |||||||
| RUN apt-get update -y && \ | RUN apt-get update -y && \ | ||||||
|     apt-get install -y python-pip python-dev |     apt-get install -y python-pip python-dev | ||||||
|  |  | ||||||
| # We copy just the requirements.txt first to leverage Docker cache |  | ||||||
|  |  | ||||||
| COPY ./requirements.txt /app/requirements.txt | COPY ./requirements.txt /app/requirements.txt | ||||||
|  |  | ||||||
| @@ -17,5 +16,4 @@ COPY ./mealie /app | |||||||
|  |  | ||||||
| ENTRYPOINT [ "python" ] | ENTRYPOINT [ "python" ] | ||||||
|  |  | ||||||
| # TODO Reconfigure Command to start a Gunicorn Server that managed the Uvicorn Server. Also Learn how to do that :-/ |  | ||||||
| CMD [ "app.py" ] | CMD [ "app.py" ] | ||||||
							
								
								
									
										14163
									
								
								frontend/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										14163
									
								
								frontend/package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -53,11 +53,12 @@ def import_from_archive(file_name: str) -> list: | |||||||
|             recipe_dict = json.loads(f.read()) |             recipe_dict = json.loads(f.read()) | ||||||
|             recipe_dict = import_migration(recipe_dict) |             recipe_dict = import_migration(recipe_dict) | ||||||
|  |  | ||||||
|             recipeDoc = RecipeDocument(**recipe_dict) |             try: | ||||||
|             recipeDoc.save() |                 recipeDoc = RecipeDocument(**recipe_dict) | ||||||
|             successful_imports.append(recipe.stem) |                 recipeDoc.save() | ||||||
|  |                 successful_imports.append(recipe.stem) | ||||||
|             # print("Failed Import:", recipe.stem) |             except: | ||||||
|  |                 logger.error("Failed Import:", recipe.stem) | ||||||
|  |  | ||||||
|     image_dir = TEMP_DIR.joinpath("images") |     image_dir = TEMP_DIR.joinpath("images") | ||||||
|     for image in image_dir.iterdir(): |     for image in image_dir.iterdir(): | ||||||
|   | |||||||
| @@ -37,7 +37,7 @@ jstyleson==0.0.2 | |||||||
| lazy-object-proxy==1.4.3 | lazy-object-proxy==1.4.3 | ||||||
| livereload==2.6.3 | livereload==2.6.3 | ||||||
| lunr==0.5.8 | lunr==0.5.8 | ||||||
| lxml==4.5.2 | lxml>=4.6.2 | ||||||
| Markdown==3.3.3 | Markdown==3.3.3 | ||||||
| MarkupSafe==1.1.1 | MarkupSafe==1.1.1 | ||||||
| mccabe==0.6.1 | mccabe==0.6.1 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user