Use the public npm registry so Dokploy can install packages.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-09 18:52:30 +03:30
co-authored by Cursor
parent bc907990ed
commit 4ef398b4eb
+2 -4
View File
@@ -5,15 +5,13 @@ WORKDIR /app
COPY package.json package-lock.json ./
COPY scripts ./scripts
RUN npm config set registry https://mirror2.chabokan.net/npm/ \
&& npm config set replace-registry-host npmjs \
&& npm config set fetch-retry-mintimeout 10000 \
RUN npm config set fetch-retry-mintimeout 10000 \
&& npm config set fetch-retry-maxtimeout 120000 \
&& npm config set fetch-timeout 120000 \
&& npm config set fetch-retries 5
ENV NODE_ENV=development
RUN npm ci --include=dev --foreground-scripts --registry=https://mirror2.chabokan.net/npm/
RUN npm ci --include=dev --foreground-scripts
COPY . .