Dockerfile for docs copy proper files into image (#2989)

fixes docker build from: #2874
This commit is contained in:
techknowlogick 2017-11-27 07:08:25 -05:00 committed by Lauris BH
parent 1028ef2def
commit 6a58e3f9fc

View File

@ -16,7 +16,7 @@ EXPOSE 80
RUN apk add --no-cache wget mailcap ca-certificates
COPY --from=build-env /go/bin/caddy /usr/sbin/caddy
COPY docker/caddy.conf /etc/caddy.conf
COPY public /srv/www
COPY docs/docker/caddy.conf /etc/caddy.conf
COPY docs/public /srv/www
CMD ["/usr/sbin/caddy", "-conf", "/etc/caddy.conf"]