From 9f3fcccb6123722d84c995b40ca7e05ccc66a045 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Tue, 26 May 2026 16:50:10 +0300 Subject: [PATCH] optimize build --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3f6bb3c6..a4896f63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +48,8 @@ ENV OPENSSL_CONF=/etc/openssl_legacy.cnf WORKDIR /app -RUN apk add --no-cache libpq vips redis onnxruntime +RUN apk add --no-cache libpq vips redis onnxruntime && \ + rm -f /usr/bin/onnx_test_runner /usr/bin/onnxruntime_test RUN addgroup -g 2000 docuseal && adduser -u 2000 -G docuseal -s /bin/sh -D -h /home/docuseal docuseal