photoprism/docker/dummy/webdav/Dockerfile

20 lines
391 B
Text
Raw Normal View History

FROM golang:1
2021-12-12 20:14:07 +01:00
LABEL maintainer="Michael Mayer <hello@photoprism.app>"
# Set up project directory
WORKDIR "/webdav"
RUN go install github.com/hacdias/webdav@latest
ENV WEBDAV_USERNAME admin
ENV 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