Deploy drhider / validate (push) Waiting to run
- extractor.py: добавлена doc_to_markdown() — .doc → .docx (soffice) → docx_to_markdown() - Dockerfile: apt install libreoffice-writer - ARCHITECTURE.md: обновлён статус .doc - bump: 0.0.16 → 0.0.17
12 lines
325 B
Docker
12 lines
325 B
Docker
FROM python:3.12-slim
|
|
WORKDIR /app
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
libreoffice-writer \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY site /app/site
|
|
COPY drhider /app/drhider
|
|
EXPOSE 5000
|
|
CMD ["python", "site/app.py"]
|