From 5c67bed5a64f4fc40e27a41a03b27e56fa26bce4 Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Tue, 24 Mar 2026 11:12:38 -0700 Subject: [PATCH] fix(docker): remove hardcoded corporate proxy and jfrog registry from Dockerfiles --- backend/Dockerfile | 8 -------- web/Dockerfile | 8 -------- 2 files changed, 16 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 45486c3..cbab289 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -2,15 +2,11 @@ FROM node:22-alpine AS builder WORKDIR /app/backend ARG GITEA_NPM_HOST -ENV HTTP_PROXY=http://cso.proxy.att.com:8080/ -ENV HTTPS_PROXY=http://cso.proxy.att.com:8080/ -ENV NO_PROXY=localhost,127.0.0.1,host.docker.internal,gateway.docker.internal,192.168.65.254,192.168.86.40 ENV NODE_TLS_REJECT_UNAUTHORIZED=0 ENV NPM_CONFIG_STRICT_SSL=false ENV GITEA_NPM_HOST=$GITEA_NPM_HOST RUN npm config set strict-ssl false \ - && npm config set registry https://jfrog-pkg-proxy.it.att.com/artifactory/api/npm/att-npm-proxy-group/ \ && npm install -g pnpm@10.6.5 COPY .npmrc.docker ./.npmrc @@ -27,11 +23,7 @@ RUN pnpm run build FROM node:22-alpine WORKDIR /app/backend ENV NODE_ENV=production -ENV HTTP_PROXY=http://cso.proxy.att.com:8080/ -ENV HTTPS_PROXY=http://cso.proxy.att.com:8080/ -ENV NO_PROXY=localhost,127.0.0.1,host.docker.internal,gateway.docker.internal,192.168.65.254,192.168.86.40 ENV NODE_TLS_REJECT_UNAUTHORIZED=0 -ENV NPM_CONFIG_STRICT_SSL=false COPY --from=builder /app/backend/node_modules ./node_modules COPY --from=builder /app/backend/package.json ./package.json diff --git a/web/Dockerfile b/web/Dockerfile index d067792..ae6d029 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -2,15 +2,11 @@ FROM node:22-alpine AS builder WORKDIR /app/web ARG GITEA_NPM_HOST -ENV HTTP_PROXY=http://cso.proxy.att.com:8080/ -ENV HTTPS_PROXY=http://cso.proxy.att.com:8080/ -ENV NO_PROXY=localhost,127.0.0.1,host.docker.internal,gateway.docker.internal,192.168.65.254,192.168.86.40 ENV NODE_TLS_REJECT_UNAUTHORIZED=0 ENV NPM_CONFIG_STRICT_SSL=false ENV GITEA_NPM_HOST=$GITEA_NPM_HOST RUN npm config set strict-ssl false \ - && npm config set registry https://jfrog-pkg-proxy.it.att.com/artifactory/api/npm/att-npm-proxy-group/ \ && npm install -g pnpm@10.6.5 COPY .npmrc.docker ./.npmrc @@ -32,11 +28,7 @@ FROM node:22-alpine WORKDIR /app/web ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1 -ENV HTTP_PROXY=http://cso.proxy.att.com:8080/ -ENV HTTPS_PROXY=http://cso.proxy.att.com:8080/ -ENV NO_PROXY=localhost,127.0.0.1,host.docker.internal,gateway.docker.internal,192.168.65.254,192.168.86.40 ENV NODE_TLS_REJECT_UNAUTHORIZED=0 -ENV NPM_CONFIG_STRICT_SSL=false COPY --from=builder /app/web/.next/standalone ./ COPY --from=builder /app/web/.next/static ./.next/static