Ollama reverse proxy that allows for bearer token authentication.
| # debian.sh --arch 'amd64' out/ 'stable' '@1776729600' |
| RUN /bin/sh -c useradd --uid 1993 --user-group deno && mkdir /deno-dir/ && chown deno:deno /deno-dir/ # buildkit |
| ENV DENO_USE_CGROUPS=1 |
| ENV DENO_DIR=/deno-dir/ |
| ENV DENO_INSTALL_ROOT=/usr/local |
| ARG DENO_VERSION=2.7.14 |
| ENV DENO_VERSION=2.7.14 |
| COPY /deno /usr/bin/deno # buildkit |
| COPY /tini /tini # buildkit |
| LABEL org.opencontainers.image.title=Deno org.opencontainers.image.description=Deno Docker image (Debian) org.opencontainers.image.url=https://github.com/denoland/deno_docker org.opencontainers.image.source=https://github.com/denoland/deno_docker org.opencontainers.image.licenses=MIT org.opencontainers.image.version=2.7.14 |
| COPY ./_entry.sh /usr/local/bin/docker-entrypoint.sh # buildkit |
| RUN |1 DENO_VERSION=2.7.14 /bin/sh -c chmod 755 /usr/local/bin/docker-entrypoint.sh # buildkit |
| ENTRYPOINT ["/tini" "--" "docker-entrypoint.sh"] |
| CMD ["eval" "console.log('Welcome to Deno!')"] |
| ARG UID=10001 |
| ENV DEBIAN_FRONTEND=noninteractive |
| WORKDIR /app |
| RUN |1 UID=10001 /bin/sh -c groupadd --gid "${UID}" --system appuser && useradd --create-home --uid "${UID}" --gid "${UID}" --no-log-init --system appuser # buildkit |
| COPY deno.json ./ # buildkit |
| RUN |1 UID=10001 /bin/sh -c deno install # buildkit |
| USER appuser |
| COPY . . # buildkit |
| EXPOSE [8000/tcp] |
| CMD ["deno" "task" "start"] |
| Key |
Value |
| org.opencontainers.image.created |
2026-05-15T22:00:13.948Z |
| org.opencontainers.image.description |
Ollama reverse proxy that allows for bearer token authentication. |
| org.opencontainers.image.licenses |
|
| org.opencontainers.image.revision |
d601adae6faad06d6dafcb713eed02c0c5bedac4 |
| org.opencontainers.image.source |
https://git.clowdertech.com/clowdertech/ollama-token-api |
| org.opencontainers.image.title |
ollama-token-api |
| org.opencontainers.image.url |
https://git.clowdertech.com/clowdertech/ollama-token-api |
| org.opencontainers.image.version |
master |