Skip to content

Commit 0d40e39

Browse files
committed
Fix frontend npm registry in Docker build
1 parent f29436e commit 0d40e39

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

frontend/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ FROM node:22-alpine AS build
33
WORKDIR /app
44

55
COPY package*.json ./
6-
RUN npm ci
6+
ARG NPM_REGISTRY=https://registry.npmjs.org/
7+
RUN npm ci --registry="${NPM_REGISTRY}"
78

89
COPY . .
910
RUN npm run build

frontend/package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)