photoprism/docker/webdav/Dockerfile

17 lines
321 B
Text
Raw Normal View History

FROM golang:1
2021-05-16 16:08:49 +02:00
LABEL maintainer="Michael Mayer <hello@photoprism.org>"
# Set up project directory
WORKDIR "/webdav"
RUN go install github.com/hacdias/webdav@latest
# Expose HTTP port
EXPOSE 80
COPY /docker/webdav/config.yml /webdav/config.yml
COPY /docker/webdav/files /webdav/files
CMD webdav -c /webdav/config.yml