photoprism/docker/webdav/Dockerfile
Michael Mayer f22744770c Docker: Update images and add security_opt to docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-25 14:57:45 +02:00

16 lines
313 B
Docker

FROM golang:1
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