photoprism/docker/demo/Dockerfile
2019-06-29 23:27:42 +02:00

13 lines
332 B
Docker

FROM photoprism/photoprism:latest as build
# Hide TensorFlow warnings
ENV TF_CPP_MIN_LOG_LEVEL 2
RUN mkdir -p /srv/photoprism/photos/import && \
wget -qO- https://dl.photoprism.org/fixtures/demo.tar.gz | tar xvz -C Pictures/Import
# Import example photos
RUN photoprism import
# Start PhotoPrism server
CMD photoprism start