|
|
|
@ -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
|
|
|
|
|