Browse Source

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

fixes docker build from: #2874
tags/v1.21.12.1
techknowlogick Lauris BH 7 years ago
parent
commit
6a58e3f9fc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      docs/Dockerfile

+ 2
- 2
docs/Dockerfile 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"]

Loading…
Cancel
Save