File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ RUN mkdir build && cd build && \
2121 cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF && \
2222 make -j$(nproc) ailee_node
2323
24+
2425# ============================
2526# Stage 2 — Runtime Image
2627# ============================
@@ -30,9 +31,10 @@ ENV DEBIAN_FRONTEND=noninteractive \
3031 PYTHONUNBUFFERED=1 \
3132 PYTHONDONTWRITEBYTECODE=1
3233
33- # Install Python 3.11 + runtime libs
34+ # Install Python 3.11 + runtime libs + build deps (REQUIRED for psutil)
3435RUN apt-get update && apt-get install -y --no-install-recommends \
3536 python3.11 python3-pip python3.11-venv \
37+ gcc python3-dev build-essential \
3638 curl libssl3 libcurl4 libzmq5 libjsoncpp25 \
3739 libyaml-cpp0.7 librocksdb6.11 libstdc++6 procps \
3840 ca-certificates \
@@ -66,6 +68,7 @@ COPY --from=cpp-builder --chown=ailee:ailee /build/build/ailee_node ./ailee_node
6668COPY --from=cpp-builder --chown=ailee:ailee /build/config ./config
6769RUN chmod +x ./ailee_node
6870
71+
6972# ============================
7073# Start Script (Heredoc Safe)
7174# ============================
You can’t perform that action at this time.
0 commit comments