photoprism/docker/webdav/Dockerfile
Michael Mayer b86f68c3f3 Backend: Add WebDAV client and dummy test server #225
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-27 11:01:41 +01:00

16 lines
316 B
Docker

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