-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (19 loc) · 979 Bytes
/
Dockerfile
File metadata and controls
24 lines (19 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM python:3.13-slim
# System dependencies for the .NET runtime: libicu-dev (globalization)
# and libgdiplus + libfontconfig1 (System.Drawing / GDI+, required by
# image-processing and export paths on Linux)
RUN apt-get update -qq \
&& apt-get install -y --no-install-recommends libicu-dev libgdiplus libfontconfig1 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Install the package
COPY Examples/requirements.txt .
# TEMPORARY: groupdocs-editor-net 26.5 is not yet on PyPI. Install the manylinux
# wheel from S3 first; requirements.txt then resolves it as already satisfied.
# Remove this line once the package is released on PyPI.
RUN pip install --no-cache-dir "https://s3.us-west-2.amazonaws.com/groupdocs.files/2026/05/28/groupdocs_editor_net-26.5.0-py3-none-manylinux1_x86_64.whl"
RUN pip install --no-cache-dir -r requirements.txt
# Copy examples and sample files
COPY Examples/ ./Examples/
# Run all examples
CMD ["python", "Examples/run_all_examples.py"]