mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
20 lines
407 B
Docker
20 lines
407 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 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"]
|