Fix mirror hostname and protocol (soroushasad.com, HTTP)
All references updated from mirror.soroushasadi.com (https) to mirror.soroushasad.com (http): - .npmrc: registry uses http:// - Dockerfile: syntax frontend + NODE_IMAGE ARG + npm auth line - docker-compose.yml: NODE_IMAGE default - deploy.yml: docker login/logout + NODE_IMAGE env - ci.yml: container image + NODE_IMAGE build-arg + npm auth line Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
# All base images flow through the Nexus docker-group proxy, which aggregates
|
||||
# Docker Hub, Microsoft Container Registry (mcr.microsoft.com) and GitHub
|
||||
# Container Registry (ghcr.io) behind one path — any upstream image is reachable
|
||||
# as mirror.soroushasadi.com/repository/docker-group/<image>.
|
||||
# as mirror.soroushasad.com/repository/docker-group/<image>.
|
||||
# Build directly against Docker Hub instead with:
|
||||
# --build-arg NODE_IMAGE=node:20-slim
|
||||
ARG NODE_IMAGE=node:20-slim
|
||||
@@ -19,7 +19,7 @@ RUN apt-get update \
|
||||
# image, which copies node_modules — not .npmrc.
|
||||
COPY package.json package-lock.json ./
|
||||
RUN if [ -n "$NPM_TOKEN" ]; then \
|
||||
echo "//mirror.soroushasadi.com/repository/npm-group/:_authToken=${NPM_TOKEN}" >> .npmrc ; \
|
||||
echo "//mirror.soroushasad.com/repository/npm-group/:_authToken=${NPM_TOKEN}" >> .npmrc ; \
|
||||
fi \
|
||||
&& npm ci
|
||||
|
||||
|
||||
Reference in New Issue
Block a user