2020-08-25 14:57:45 +02:00
|
|
|
FROM golang:1
|
2020-03-27 11:01:41 +01:00
|
|
|
|
2021-05-16 16:08:49 +02:00
|
|
|
LABEL maintainer="Michael Mayer <hello@photoprism.org>"
|
2020-03-27 11:01:41 +01:00
|
|
|
|
|
|
|
# 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
|