Fix the rockylinux version

This commit is contained in:
Shang Chieh Tseng
2025-04-11 22:24:40 +08:00
parent a27ee64ae6
commit 1cba009618

View File

@@ -10,7 +10,7 @@ RUN cd /usr/local/src \
&& go build -o ollama .
# ===== Stage 2: Runtime image =====
FROM rockylinux/rockylinux:9
FROM rockylinux/rockylinux:8
# Copy only the built binary and any needed assets from the builder stage
COPY --from=builder /usr/local/src/ollama37 /usr/local/src/ollama37