photoprism/docker/webdav/Dockerfile

17 lines
316 B
Text
Raw Normal View History

FROM golang:1.14
LABEL maintainer="Michael Mayer <michael@liquidbytes.net>"
# Set up project directory
WORKDIR "/webdav"
RUN go get github.com/hacdias/webdav
# 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