fix: docker file dependecies for prediction

main
Cizz22 11 months ago
parent 6789825f6a
commit 02ffe5785a

@ -22,9 +22,11 @@ RUN poetry install --no-root
# Use a new slim image for the runtime # Use a new slim image for the runtime
FROM python:3.11-slim as 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 \ RUN apt-get update && apt-get install -y --no-install-recommends \
make \ make \
libreoffice \
libreoffice-writer \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Set environment variables for Poetry # Set environment variables for Poetry
@ -47,4 +49,4 @@ EXPOSE 3005
WORKDIR /app WORKDIR /app
# Run `make run` as the entry point # Run `make run` as the entry point
CMD ["make", "run"] CMD ["make", "run"]
Loading…
Cancel
Save