diff --git a/Dockerfile b/Dockerfile index 8dc7ed2..5114417 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Multi-stage Dockerfile for Rocky Man # This creates an architecture-independent image that can run on x86_64, aarch64, etc. -FROM rockylinux/rockylinux:10 AS builder +FROM rockylinux/rockylinux:9 AS builder # Install system dependencies RUN dnf install -y epel-release \ @@ -26,7 +26,7 @@ COPY templates ./templates RUN python3 -m pip install --no-cache-dir -e . # Runtime stage -FROM rockylinux/rockylinux:10 +FROM rockylinux/rockylinux:9 # Install runtime dependencies RUN dnf install -y epel-release \ @@ -39,8 +39,8 @@ RUN dnf install -y epel-release \ && dnf clean all # Copy Python packages and app from builder -COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages -COPY --from=builder /usr/local/lib64/python3.12/site-packages /usr/local/lib64/python3.12/site-packages +COPY --from=builder /usr/local/lib/python3.9/site-packages /usr/local/lib/python3.9/site-packages +COPY --from=builder /usr/local/lib64/python3.9/site-packages /usr/local/lib64/python3.9/site-packages COPY --from=builder /app /app WORKDIR /app