@@ -60,7 +60,6 @@ RUN --mount=type=ssh \
6060 uv pip install -e "pipeline_scripts" && \
6161 uv pip install -e "taxonomy" && \
6262 uv pip install boto3 && \
63- uv pip install "pdfservices-sdk@git+https://github.com/niallcm/pdfservices-python-sdk.git"
6463
6564
6665# ===============================
@@ -73,50 +72,51 @@ RUN --mount=type=ssh \
7372 uv pip install "libs/kotaemon[adv]" && \
7473 uv pip install "libs/ktem" && \
7574 uv pip install "libs/pipelineblocks" && \
76- uv pip install boto3
77-
75+ uv pip install boto3 && \
76+ uv pip install "pdfservices-sdk@git+https://github.com/niallcm/pdfservices-python-sdk.git@bump-and-unfreeze-requirements"
7877
78+ ENTRYPOINT ["sh" , "/app/launch.sh" ]
7979
8080# ===============================
8181# Shared minimal runtime base
8282# ===============================
83- FROM ubuntu:22.04 AS runtime-base
84-
85- RUN apt-get update -qqy && \
86- apt-get install -y --no-install-recommends \
87- ssh \
88- git \
89- poppler-utils \
90- curl \
91- ca-certificates \
92- && rm -rf /var/lib/apt/lists/*
93-
94- # Install uv
95- RUN curl -LsSf https://astral.sh/uv/install.sh | sh
96-
97- ENV PYTHONDONTWRITEBYTECODE=1 \
98- PYTHONUNBUFFERED=1 \
99- PYTHONIOENCODING=UTF-8 \
100- PATH="/root/.local/bin:/app/.venv/bin:$PATH"
101-
102- WORKDIR /app
103-
104-
105- # ===============================
106- # Final: dev-runtime
107- # ===============================
108- FROM runtime-base AS dev-runtime
109-
110- COPY --from=dev /app /app
111-
112- ENTRYPOINT ["/bin/sh" , "-c" , "tail -f /dev/null" ]
113-
114-
115- # ===============================
116- # Final: prod-runtime
117- # ===============================
118- FROM runtime-base AS prod-runtime
119-
120- COPY --from=prod /app /app
121-
122- ENTRYPOINT ["sh" , "/app/launch.sh" ]
83+ # FROM ubuntu:22.04 AS runtime-base
84+ #
85+ # RUN apt-get update -qqy && \
86+ # apt-get install -y --no-install-recommends \
87+ # ssh \
88+ # git \
89+ # poppler-utils \
90+ # curl \
91+ # ca-certificates \
92+ # && rm -rf /var/lib/apt/lists/*
93+ #
94+ # # Install uv
95+ # RUN curl -LsSf https://astral.sh/uv/install.sh | sh
96+ #
97+ # ENV PYTHONDONTWRITEBYTECODE=1 \
98+ # PYTHONUNBUFFERED=1 \
99+ # PYTHONIOENCODING=UTF-8 \
100+ # PATH="/root/.local/bin:/app/.venv/bin:$PATH"
101+ #
102+ # WORKDIR /app
103+ #
104+ #
105+ # # ===============================
106+ # # Final: dev-runtime
107+ # # ===============================
108+ # FROM runtime-base AS dev-runtime
109+ #
110+ # COPY --from=dev /app /app
111+ #
112+ # ENTRYPOINT ["/bin/sh", "-c", "tail -f /dev/null"]
113+ #
114+ #
115+ # # ===============================
116+ # # Final: prod-runtime
117+ # # ===============================
118+ # FROM runtime-base AS prod-runtime
119+ #
120+ # COPY --from=prod /app /app
121+ #
122+ # ENTRYPOINT ["sh", "/app/launch.sh"]
0 commit comments