photoprism/docker/dummy/webdav/Dockerfile
Michael Mayer 5bda752118 Build: Add shared .telemetry file to opt out of CLI telemetry
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-24 16:42:21 +02:00

20 lines
431 B
Docker

FROM golang:1
LABEL maintainer="PhotoPrism UG <hello@photoprism.app>"
# Set up project directory
WORKDIR "/webdav"
RUN go install github.com/hacdias/webdav@latest
ENV DO_NOT_TRACK=true \
WEBDAV_USERNAME="admin" \
WEBDAV_PASSWORD="photoprism"
# Expose HTTP port
EXPOSE 80
COPY /docker/dummy/webdav/config.yml /webdav/config.yml
COPY /docker/dummy/webdav/files /webdav/files
CMD ["webdav", "-c", "/webdav/config.yml"]