mirror of
https://github.com/immich-app/immich.git
synced 2024-11-16 02:18:50 -07:00
57136e48fb
BREAKING CHANGES * Users have to update the docker-compose file, machine-learning portion. * Temporary dropping machine-learning support for Arm64 and Armv7
12 lines
344 B
Docker
12 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 . .
|