.dockerignore: exclude files from docker copying

Exclude the .git directory and some other directories that aren't
needed to build the worker.

This reduces the total amount of data sent to the docker daemon
to from 544M to 355M.

Change-Id: Ic6f41f6c86f1776e056e881ef67c750137e17a7e
Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/471161
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Maceo Thompson <maceothompson@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
1 file changed
tree: e6cf1ae67bcd7f281cc2b094c0c2dce6d05a52c8
  1. cmd/
  2. deploy/
  3. devtools/
  4. internal/
  5. static/
  6. terraform/
  7. .dockerignore
  8. .gitignore
  9. all_test.go
  10. checks.bash
  11. config.json.commented
  12. CONTRIBUTING.md
  13. go.mod
  14. go.sum
  15. LICENSE
  16. Makefile
  17. PATENTS
  18. README.md
  19. tools_test.go
README.md

pkgsite-metrics

This repository contains code that serves pkg.go.dev/metrics.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.