mirror of
https://github.com/mudler/LocalAI.git
synced 2025-01-02 10:56:41 +00:00
10 lines
275 B
Docker
10 lines
275 B
Docker
|
FROM python
|
||
|
|
||
|
# convert the model (one-off)
|
||
|
RUN pip3 install torch numpy
|
||
|
|
||
|
WORKDIR /build
|
||
|
COPY ./scripts/ .
|
||
|
|
||
|
RUN git clone --recurse-submodules https://github.com/saharNooby/rwkv.cpp && cd rwkv.cpp && cmake . && cmake --build . --config Release
|
||
|
ENTRYPOINT [ "/build/build.sh" ]
|