mirror of
https://github.com/dogkeeper886/ollama-k80-lab.git
synced 2025-12-10 15:57:05 +00:00
Copy GCC and lib64
This commit is contained in:
@@ -14,8 +14,12 @@ FROM rockylinux/rockylinux:8
|
|||||||
|
|
||||||
# Copy only the built binary and any needed assets from the builder stage
|
# Copy only the built binary and any needed assets from the builder stage
|
||||||
COPY --from=builder /usr/local/src/ollama37 /usr/local/src/ollama37
|
COPY --from=builder /usr/local/src/ollama37 /usr/local/src/ollama37
|
||||||
|
COPY --from=builder /usr/local/bin /usr/local/bin
|
||||||
|
COPY --from=builder /usr/local/lib64 /usr/local/lib64
|
||||||
|
|
||||||
# Set environment variables
|
# Set environment variables
|
||||||
|
ENV LD_LIBRARY_PATH="/usr/local/lib64"
|
||||||
|
ENV PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
|
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
|
||||||
ENV NVIDIA_VISIBLE_DEVICES=all
|
ENV NVIDIA_VISIBLE_DEVICES=all
|
||||||
ENV OLLAMA_HOST=0.0.0.0:11434
|
ENV OLLAMA_HOST=0.0.0.0:11434
|
||||||
|
|||||||
Reference in New Issue
Block a user