2020-08-25 14:57:45 +02:00
|
|
|
FROM golang:1
|
2020-03-27 11:01:41 +01:00
|
|
|
|
2023-05-01 12:28:55 +02:00
|
|
|
LABEL maintainer="PhotoPrism UG <hello@photoprism.app>"
|
2020-03-27 11:01:41 +01:00
|
|
|
|
|
|
|
# Set up project directory
|
|
|
|
WORKDIR "/webdav"
|
|
|
|
|
2021-10-21 16:44:40 +02:00
|
|
|
RUN go install github.com/hacdias/webdav@latest
|
2020-03-27 11:01:41 +01:00
|
|
|
|
2021-11-09 17:40:53 +01:00
|
|
|
ENV WEBDAV_USERNAME admin
|
|
|
|
ENV WEBDAV_PASSWORD photoprism
|
|
|
|
|
2020-03-27 11:01:41 +01:00
|
|
|
# Expose HTTP port
|
|
|
|
EXPOSE 80
|
|
|
|
|
2021-11-09 17:40:53 +01:00
|
|
|
COPY /docker/dummy/webdav/config.yml /webdav/config.yml
|
|
|
|
COPY /docker/dummy/webdav/files /webdav/files
|
2020-03-27 11:01:41 +01:00
|
|
|
|
|
|
|
CMD webdav -c /webdav/config.yml
|