Skip to content
Snippets Groups Projects
Dockerfile 462 B
Newer Older
Niaz's avatar
Niaz committed
FROM reallibrephotos/librephotos-dependencies:dev
Niaz's avatar
Niaz committed
# install rust, a missing requirenment from pytorch
RUN apt install -y rustc libtinfo5 
Matteo Parrucci's avatar
Matteo Parrucci committed
ARG DEBUG
RUN git clone https://github.com/LibrePhotos/librephotos .
RUN pip install -r requirements.txt
Matteo Parrucci's avatar
Matteo Parrucci committed
RUN if [ "$DEBUG" = 1 ] ; then pip install -r requirements.dev.txt ;  fi
RUN python -m spacy download en_core_web_sm
COPY entrypoint.sh /entrypoint.sh
CMD ["/entrypoint.sh"]