-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (27 loc) · 800 Bytes
/
Dockerfile
File metadata and controls
36 lines (27 loc) · 800 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
25
26
27
28
29
30
31
32
33
34
35
36
FROM ghcr.io/astral-sh/uv:python3.10-bookworm-slim
ENV UV_SYSTEM_PYTHON=1 \
UV_PYTHON=/usr/local/bin/python \
PYTHONUNBUFFERED=1
WORKDIR /workspace
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
python3-tk \
coreutils \
libsm6 \
qtbase5-dev \
libglu1-mesa-dev \
libgl1-mesa-glx \
libxcb-util1 \
libvtk9-dev \
procps && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Copy metadata first for layer caching
COPY pyproject.toml uv.lock* README.md ./
# Only install runtime dependencies
RUN uv sync --frozen --no-group dev --no-group test --no-group lint --no-install-project
# Now add source and install the project itself
COPY src ./src
RUN uv sync --locked
ENV PATH="/workspace/.venv/bin:$PATH"
CMD ["jabs-postprocess", "--help"]