fix(docker): include install scripts before sf-server npm ci
Some checks are pending
sf self-deploy / build, test, and publish server image (push) Waiting to run
sf self-deploy / upgrade vega source server (push) Blocked by required conditions
sf self-deploy / deploy test and probe (push) Blocked by required conditions
sf self-deploy / promote prod (push) Blocked by required conditions

This commit is contained in:
Mikael Hugo 2026-05-17 23:15:00 +02:00
parent 80d986c046
commit e5c58c7e8b

View file

@ -13,6 +13,8 @@ FROM node:26.1-slim AS build
WORKDIR /src
ENV CI=1
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
ENV SF_SKIP_RTK_INSTALL=1
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
@ -26,6 +28,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
COPY package.json package-lock.json ./
COPY packages ./packages
COPY scripts ./scripts
COPY web/package.json web/package-lock.json ./web/
RUN npm ci && npm --prefix web ci