File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM node:22-alpine AS node-build
1+ # Run on the native build platform, the JS/CSS output is architecture-independent.
2+ FROM --platform=$BUILDPLATFORM node:22-alpine AS node-build
23WORKDIR /etc/linkding
34# install build dependencies
45COPY rollup.config.mjs postcss.config.js package.json package-lock.json ./
@@ -85,7 +86,8 @@ CMD curl -f http://localhost:${LD_SERVER_PORT:-9090}/${LD_CONTEXT_PATH}health ||
8586CMD ["./bootstrap.sh" ]
8687
8788
88- FROM node:22-alpine AS ublock-build
89+ # Run on the native build platform, the downloaded extension is architecture-independent
90+ FROM --platform=$BUILDPLATFORM node:22-alpine AS ublock-build
8991WORKDIR /etc/linkding
9092COPY scripts/setup-ublock.sh .
9193# Install necessary tools
Original file line number Diff line number Diff line change 1- FROM node:22-alpine AS node-build
1+ # Run on the native build platform, the JS/CSS output is architecture-independent.
2+ FROM --platform=$BUILDPLATFORM node:22-alpine AS node-build
23WORKDIR /etc/linkding
34# install build dependencies
45COPY rollup.config.mjs postcss.config.js package.json package-lock.json ./
@@ -80,7 +81,8 @@ CMD curl -f http://localhost:${LD_SERVER_PORT:-9090}/${LD_CONTEXT_PATH}health ||
8081CMD ["./bootstrap.sh" ]
8182
8283
83- FROM node:22-alpine AS ublock-build
84+ # Run on the native build platform, the downloaded extension is architecture-independent
85+ FROM --platform=$BUILDPLATFORM node:22-alpine AS ublock-build
8486WORKDIR /etc/linkding
8587COPY scripts/setup-ublock.sh .
8688# Install necessary tools
You can’t perform that action at this time.
0 commit comments