mirror of
https://github.com/ollama/ollama.git
synced 2025-04-04 18:12:10 +02:00
Merge pull request #2837 from dhiltgen/podman_image_support
Add env var so podman will map cuda GPUs
This commit is contained in:
commit
b830afa716
@ -132,6 +132,7 @@ ENV OLLAMA_HOST 0.0.0.0
|
||||
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
|
||||
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
|
||||
ENV NVIDIA_VISIBLE_DEVICES=all
|
||||
|
||||
ENTRYPOINT ["/bin/ollama"]
|
||||
CMD ["serve"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user