File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,12 @@ WORKDIR /app
2525USER 0
2626COPY --from=python-builder /tmp/dist/mlflow-*.whl /tmp/dist/
2727COPY --from=python-builder /tmp/dist/mlflow_kubernetes_workspace_provider-*.whl /tmp/dist/
28- RUN python -m pip install --no-cache-dir /tmp/dist/mlflow-*.whl /tmp/dist/mlflow_kubernetes_workspace_provider-*.whl \
29- && rm -f /tmp/dist/mlflow-*.whl /tmp/dist/mlflow_kubernetes_workspace_provider-*.whl
28+ RUN set -eux; \
29+ dnf install -y --setopt=tsflags=nodocs postgresql-devel gcc python3-devel && \
30+ python -m pip install --no-cache-dir /tmp/dist/mlflow-*.whl /tmp/dist/mlflow_kubernetes_workspace_provider-*.whl && \
31+ python -m pip install --no-cache-dir psycopg2 && \
32+ dnf clean all && \
33+ rm -f /tmp/dist/mlflow-*.whl /tmp/dist/mlflow_kubernetes_workspace_provider-*.whl
3034
3135# Copy built UI from builder stage
3236COPY --from=ui-builder /opt/app-root/src/build /tmp/mlflow-ui-build
You can’t perform that action at this time.
0 commit comments