Skip to content
Merged
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
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# Use node:lts-alpine for better compatibility and smaller size
FROM node:20.18.0-alpine3.20 AS ui-build-env
FROM node:22-alpine AS ui-build-env
WORKDIR /app

# Install build dependencies needed for native modules
Expand All @@ -23,10 +23,7 @@ RUN apk add --no-cache python3 make g++
COPY ./web/package*.json ./
COPY ./web/.npmrc ./

RUN npm install

# Install dependencies with specific flags to handle optional deps and architecture issues
RUN npm ci --prefer-offline --no-audit --no-fund --no-optional
RUN npm ci

# Copy the Vue app files
COPY ./web .
Expand Down
Loading