Demo: Remove docker-demo-debian target from Makefile
This commit is contained in:
parent
632f401a1e
commit
0402b8d397
2 changed files with 2 additions and 44 deletions
9
Makefile
9
Makefile
|
@ -442,17 +442,12 @@ docker-ddns:
|
||||||
docker-goproxy:
|
docker-goproxy:
|
||||||
docker pull golang:alpine
|
docker pull golang:alpine
|
||||||
scripts/docker/buildx-multi.sh goproxy linux/amd64,linux/arm64 $(BUILD_DATE)
|
scripts/docker/buildx-multi.sh goproxy linux/amd64,linux/arm64 $(BUILD_DATE)
|
||||||
docker-demo: docker-demo-debian
|
docker-demo: docker-demo-latest
|
||||||
docker-demo-all: docker-demo-debian docker-demo-ubuntu
|
docker-demo-all: docker-demo-latest docker-demo-ubuntu
|
||||||
docker-demo-latest:
|
docker-demo-latest:
|
||||||
docker pull photoprism/photoprism:preview
|
docker pull photoprism/photoprism:preview
|
||||||
scripts/docker/build.sh demo $(BUILD_DATE)
|
scripts/docker/build.sh demo $(BUILD_DATE)
|
||||||
scripts/docker/push.sh demo $(BUILD_DATE)
|
scripts/docker/push.sh demo $(BUILD_DATE)
|
||||||
docker-demo-debian:
|
|
||||||
docker pull photoprism/photoprism:preview-debian
|
|
||||||
scripts/docker/build.sh demo $(BUILD_DATE) /debian "-t photoprism/demo:latest -t photoprism/demo:debian"
|
|
||||||
scripts/docker/push.sh demo $(BUILD_DATE)
|
|
||||||
scripts/docker/push.sh demo debian
|
|
||||||
docker-demo-ubuntu:
|
docker-demo-ubuntu:
|
||||||
docker pull photoprism/photoprism:preview-ubuntu
|
docker pull photoprism/photoprism:preview-ubuntu
|
||||||
scripts/docker/build.sh demo ubuntu /ubuntu
|
scripts/docker/build.sh demo ubuntu /ubuntu
|
||||||
|
|
|
@ -1,37 +0,0 @@
|
||||||
FROM photoprism/photoprism:preview-debian as build
|
|
||||||
|
|
||||||
# Set environment variables
|
|
||||||
ENV TF_CPP_MIN_LOG_LEVEL=2 \
|
|
||||||
PHOTOPRISM_STORAGE_PATH="/photoprism/storage" \
|
|
||||||
PHOTOPRISM_DEBUG="false" \
|
|
||||||
PHOTOPRISM_READONLY="false" \
|
|
||||||
PHOTOPRISM_PUBLIC="true" \
|
|
||||||
PHOTOPRISM_DEMO="true" \
|
|
||||||
PHOTOPRISM_EXPERIMENTAL="true" \
|
|
||||||
PHOTOPRISM_UPLOAD_NSFW="false" \
|
|
||||||
PHOTOPRISM_DETECT_NSFW="false" \
|
|
||||||
PHOTOPRISM_THUMB_FILTER="lanczos" \
|
|
||||||
PHOTOPRISM_THUMB_UNCACHED="true" \
|
|
||||||
PHOTOPRISM_THUMB_SIZE=4096 \
|
|
||||||
PHOTOPRISM_THUMB_SIZE_UNCACHED=4096 \
|
|
||||||
PHOTOPRISM_JPEG_SIZE=4096 \
|
|
||||||
PHOTOPRISM_JPEG_QUALITY=85 \
|
|
||||||
PHOTOPRISM_APP_NAME="Demo" \
|
|
||||||
PHOTOPRISM_APP_ICON="favicon" \
|
|
||||||
PHOTOPRISM_SITE_TITLE="PhotoPrism" \
|
|
||||||
PHOTOPRISM_SITE_CAPTION="Demo" \
|
|
||||||
PHOTOPRISM_SITE_DESCRIPTION="AI-Powered Photos App for the Decentralized Web"
|
|
||||||
|
|
||||||
# Copy assets
|
|
||||||
COPY /docker/demo/index.tmpl /opt/photoprism/assets/templates
|
|
||||||
|
|
||||||
# Download example photos
|
|
||||||
RUN wget -qO- https://dl.photoprism.app/qa/demo.tar.gz | tar xvz -C /photoprism/originals
|
|
||||||
|
|
||||||
# Import example photos
|
|
||||||
RUN photoprism restore -a
|
|
||||||
RUN photoprism index -a
|
|
||||||
RUN photoprism moments
|
|
||||||
|
|
||||||
# Start PhotoPrism server
|
|
||||||
CMD ["photoprism", "--public", "start"]
|
|
Loading…
Reference in a new issue