Dockerfile for docs copy proper files into image (#2989)
fixes docker build from: #2874
This commit is contained in:
parent
1028ef2def
commit
6a58e3f9fc
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ EXPOSE 80
|
||||||
RUN apk add --no-cache wget mailcap ca-certificates
|
RUN apk add --no-cache wget mailcap ca-certificates
|
||||||
COPY --from=build-env /go/bin/caddy /usr/sbin/caddy
|
COPY --from=build-env /go/bin/caddy /usr/sbin/caddy
|
||||||
|
|
||||||
COPY docker/caddy.conf /etc/caddy.conf
|
COPY docs/docker/caddy.conf /etc/caddy.conf
|
||||||
COPY public /srv/www
|
COPY docs/public /srv/www
|
||||||
|
|
||||||
CMD ["/usr/sbin/caddy", "-conf", "/etc/caddy.conf"]
|
CMD ["/usr/sbin/caddy", "-conf", "/etc/caddy.conf"]
|
||||||
|
|
Loading…
Reference in a new issue