Docker build instructions for bitwarden lite

It should be possible to build the docker container for bitwarden lite locally.

When I clone the directory or download the source from the release page, I get errors.

When building from the self-host directory itself using:

docker build -t localhost:5000/bitwarden-lite -f bitwarden-lite/Dockerfile .

The error is:

ERROR: failed to build: failed to solve: failed to compute cache key: failed to calculate checksum of ref 40d01a94-a6a1-4889-9482-d4fe131e1742::dgz957dt7r0cqflud3o4xxrc0: “/server/.git”: not found

When I move down to the bidwarden-lite subdirectory, the error is “/bitwarden-lite/entrypoint.sh”: not found, which I understand better then the error in my first variant.

Would someone with a better understanding of this please be so kind to point me in the right direction?

@michael.schefczyk Welcome to the forum!

… and at least until someone else may chime in: besides the official documentation, you can also always contact BW support.

The build-process for Bitwarden Lite seems to be more complicated than a single command. For details, check the GitHub Workflow.