13 lines
287 B
Docker
13 lines
287 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
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
|
|
|
|
EXPOSE 5000
|
|
|
|
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "5000"] |