Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# =============================================================================
# Stage 1: Build Vue.js frontend
# =============================================================================
FROM node:22-alpine@sha256:1314fb30ec37592d5845e5a160d522c0e680972aa534549940b8d73bde88481a AS frontend-builder
FROM node:26-alpine@sha256:6bd9ab43c0ec0190ca7b2d193906cb8b7edf6e7f4afa43ddeccd6452710bffb5 AS frontend-builder

WORKDIR /app/frontend
COPY frontend/package*.json ./
Expand All @@ -46,7 +46,7 @@

# System packages and the Rust toolchain are separate layers, so a failed
# toolchain download does not redo the apt step.
RUN apt-get update && apt-get install -y --no-install-recommends \

Check failure on line 49 in Dockerfile

View workflow job for this annotation

GitHub Actions / deploy-config

DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
build-essential ca-certificates curl git pkg-config libssl-dev && \
rm -rf /var/lib/apt/lists/*

Expand All @@ -58,7 +58,7 @@
ENV PATH="/root/.cargo/bin:${PATH}"

ARG MATURIN_VERSION=1.16.0
RUN --mount=type=cache,target=/root/.cache/pip \

Check failure on line 61 in Dockerfile

View workflow job for this annotation

GitHub Actions / deploy-config

DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
pip install "maturin==${MATURIN_VERSION}"

ARG GPREDOMICS_REF
Expand Down Expand Up @@ -107,7 +107,7 @@
MPLCONFIGDIR=/tmp/matplotlib \
XDG_CACHE_HOME=/tmp/.cache

RUN apt-get update && apt-get install -y --no-install-recommends \

Check failure on line 110 in Dockerfile

View workflow job for this annotation

GitHub Actions / deploy-config

DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
libgomp1 && \
rm -rf /var/lib/apt/lists/* && \
groupadd --gid 10001 app && \
Expand All @@ -118,11 +118,11 @@
# 1. Locked Python dependencies first (the big, rarely changing layer). Every
# file is checked against the SHA-256 recorded in the lock.
COPY backend/requirements.lock /tmp/requirements.lock
RUN --mount=type=cache,target=/root/.cache/pip \

Check failure on line 121 in Dockerfile

View workflow job for this annotation

GitHub Actions / deploy-config

DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
pip install --require-hashes -r /tmp/requirements.lock && rm /tmp/requirements.lock

# 2. The engine wheel on top, without letting it pull unpinned dependencies.
RUN --mount=type=bind,from=rust-builder,source=/build/wheels,target=/tmp/wheels \

Check failure on line 125 in Dockerfile

View workflow job for this annotation

GitHub Actions / deploy-config

DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
--mount=type=cache,target=/root/.cache/pip \
pip install --no-deps /tmp/wheels/*.whl

Expand Down Expand Up @@ -189,7 +189,7 @@
# =============================================================================
FROM runtime AS dev

RUN --mount=type=cache,target=/root/.cache/pip \

Check failure on line 192 in Dockerfile

View workflow job for this annotation

GitHub Actions / deploy-config

DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
pip install "pytest>=8,<10" "pytest-asyncio>=0.23" "pytest-cov>=5" "aiosqlite>=0.19" "ruff>=0.6" "pip-audit>=2.7"

# =============================================================================
Expand Down
Loading