New version

This commit is contained in:
2026-05-24 12:33:40 +02:00
parent bec5b54256
commit 80fc3d21c7
4 changed files with 44 additions and 173 deletions
+7 -6
View File
@@ -1,12 +1,13 @@
FROM python:3.12-slim
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN apt-get update && apt-get install -y \
libxml2 libxslt1.1 libjpeg62-turbo && \
pip install --no-cache-dir fastapi uvicorn python-pptx pydantic
COPY app ./app
COPY app /app
EXPOSE 8000
EXPOSE 5000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "5000"]