Skip to content

Commit 1e883d8

Browse files
committed
Refactor: Umstellen der Codebasis auf SRP
1 parent 50f129e commit 1e883d8

29 files changed

Lines changed: 956 additions & 1144 deletions

project/Dockerfile-backend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ ENV WORKERS=4
1414

1515
#EXPOSE 3000
1616

17-
CMD ["sh", "-c", "gunicorn -k uvicorn.workers.UvicornWorker --bind 0.0.0.0:3000 --workers ${WORKERS:-4} LazyCookAdministration:app"]
17+
CMD ["sh", "-c", "python -c 'from core.Database import initDB; initDB()' && gunicorn -k uvicorn.workers.UvicornWorker --bind 0.0.0.0:3000 --workers ${WORKERS:-4} LazyCookAdministration:app"]
File renamed without changes.

0 commit comments

Comments
 (0)