High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): Flask not found (#1830)
Alexa3b9a0be3a9b
diff --git a/machine-learning/Dockerfile b/machine-learning/Dockerfileindex 7759ad4c35..ac646a9e0c 100644--- a/machine-learning/Dockerfile+++ b/machine-learning/Dockerfile@@ -1,11 +1,16 @@FROM python:3.10ENV TRANSFORMERS_CACHE=/cache+ENV PYTHONDONTWRITEBYTECODE 1+ENV PYTHONUNBUFFERED 1WORKDIR /usr/src/app-RUN pip install --user --no-cache-dir torch==1.13.1+cpu -f https://download.pytorch.org/whl/torch_stable.html-RUN pip install --user transformers tqdm numpy scikit-learn scipy nltk sentencepiece flask Pillow-RUN pip install --user --no-deps sentence-transformers+RUN python -m venv /opt/venv+ENV PATH="/opt/venv/bin:$PATH"++RUN pip install --no-cache-dir torch==1.13.1+cpu -f https://download.pytorch.org/whl/torch_stable.html+RUN pip install transformers tqdm numpy scikit-learn scipy nltk sentencepiece flask Pillow+RUN pip install --no-deps sentence-transformersCOPY . .