From 02ffe5785a8b5c5d3efc139885c8efe010798c55 Mon Sep 17 00:00:00 2001 From: Cizz22 Date: Mon, 3 Feb 2025 04:00:04 +0000 Subject: [PATCH] fix: docker file dependecies for prediction --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 779dd4e..7d95c15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,9 +22,11 @@ RUN poetry install --no-root # Use a new slim image for the runtime FROM python:3.11-slim as runtime -# Install necessary tools for running the app, including `make` +# Install necessary tools for running the app, including `make` and LibreOffice RUN apt-get update && apt-get install -y --no-install-recommends \ make \ + libreoffice \ + libreoffice-writer \ && rm -rf /var/lib/apt/lists/* # Set environment variables for Poetry @@ -47,4 +49,4 @@ EXPOSE 3005 WORKDIR /app # Run `make run` as the entry point -CMD ["make", "run"] +CMD ["make", "run"] \ No newline at end of file