convert-service: LibreOffice .doc → .docx Flask HTTP сервис

This commit is contained in:
“Naeel”
2026-07-16 09:34:20 +04:00
parent b5b36e08cc
commit 0e0fb11c28
3 changed files with 62 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM python:3.12
RUN apt-get update && apt-get install -y --no-install-recommends libreoffice && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
EXPOSE 5000
CMD ["python3", "app.py"]