protectai / rebuff

LLM Prompt Injection Detector
https://playground.rebuff.ai
Apache License 2.0
1.06k stars 73 forks source link

build docker fail #37

Closed Rainerhu closed 1 year ago

Rainerhu commented 1 year ago

I try to build the docker,but meet the error

> @rebuff/server@0.0.5 build
> next build

sh: 1: next: not found
The command '/bin/sh -c npm run build' returned a non-zero code: 127
protectai-sv commented 1 year ago

Hi @Rainerhu , we're in the process of refactoring the library as the current docker / self-hosting has issues. You can view this PR https://github.com/protectai/rebuff/pull/34 for a working branch / dockerfile in the meantime. I will also update this thread once we've finalized the new self hosting instructions

Rainerhu commented 1 year ago

ok,I build it sucess use the dockerfile of the PR。