mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
57136e48fb
BREAKING CHANGES * Users have to update the docker-compose file, machine-learning portion. * Temporary dropping machine-learning support for Arm64 and Armv7
11 lines
344 B
Docker
11 lines
344 B
Docker
FROM python:3.10
|
|
|
|
ENV TRANSFORMERS_CACHE=/cache
|
|
|
|
WORKDIR /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
|
|
|
|
COPY . .
|