| 1 | # syntax=docker/dockerfile:1 |
| 2 | # Built from the repository root, like the other apps: |
| 3 | # docker build -f apps/zoekt/Dockerfile . |
| 4 | |
| 5 | # Keep in step with the zoekt stage in apps/api/Dockerfile: the indexer and the webserver share a shard format. |
| 6 | FROM ghcr.io/sourcegraph/zoekt:0.0.0-20260911061844-153817f643cd |
| 7 | |
| 8 | USER root |
| 9 | RUN apk add --no-cache rclone |
| 10 | COPY --chmod=755 apps/zoekt/serve.sh /usr/local/bin/serve |
| 11 | USER zoekt |
| 12 | |
| 13 | EXPOSE 6070 |
| 14 | CMD ["serve"] |