mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
backup bug fix
This commit is contained in:
parent
c378614f56
commit
12c78ee2c4
@ -3,7 +3,6 @@ FROM python:3
|
||||
RUN apt-get update -y && \
|
||||
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
|
||||
|
||||
@ -17,5 +16,4 @@ COPY ./mealie /app
|
||||
|
||||
ENTRYPOINT [ "python" ]
|
||||
|
||||
# TODO Reconfigure Command to start a Gunicorn Server that managed the Uvicorn Server. Also Learn how to do that :-/
|
||||
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 = import_migration(recipe_dict)
|
||||
|
||||
recipeDoc = RecipeDocument(**recipe_dict)
|
||||
recipeDoc.save()
|
||||
successful_imports.append(recipe.stem)
|
||||
|
||||
# print("Failed Import:", recipe.stem)
|
||||
try:
|
||||
recipeDoc = RecipeDocument(**recipe_dict)
|
||||
recipeDoc.save()
|
||||
successful_imports.append(recipe.stem)
|
||||
except:
|
||||
logger.error("Failed Import:", recipe.stem)
|
||||
|
||||
image_dir = TEMP_DIR.joinpath("images")
|
||||
for image in image_dir.iterdir():
|
||||
|
@ -37,7 +37,7 @@ jstyleson==0.0.2
|
||||
lazy-object-proxy==1.4.3
|
||||
livereload==2.6.3
|
||||
lunr==0.5.8
|
||||
lxml==4.5.2
|
||||
lxml>=4.6.2
|
||||
Markdown==3.3.3
|
||||
MarkupSafe==1.1.1
|
||||
mccabe==0.6.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user