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
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:
parent
80d986c046
commit
e5c58c7e8b
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue