diff --git a/.dockerignore b/.dockerignore index e6f1136f..e8d72b07 100644 --- a/.dockerignore +++ b/.dockerignore @@ -5,7 +5,7 @@ /web/public/ /.vscode/ /.idea/ -/.git/ +#/.git/ # source files docker-compose.yml diff --git a/Dockerfile b/Dockerfile index a7c03e49..20983b8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,7 @@ ARG MONGO_TEST WORKDIR /go/src/github.com/umputun/remark/backend ADD backend /go/src/github.com/umputun/remark/backend +ADD .git /go/src/github.com/umputun/remark/.git # run tests RUN \