From da698224a70fd52ce23373feb4bcd62fade615f2 Mon Sep 17 00:00:00 2001 From: Robert van Diest Date: Fri, 27 Mar 2026 17:04:41 +0100 Subject: [PATCH] fix(docker): pull node and nginx from ECR Public mirror GitHub Actions runner IP is banned from Docker Hub. Using public.ecr.aws/docker/library as a temporary workaround. Co-Authored-By: Claude Sonnet 4.6 --- cicd/docker/Dockerfile.frontend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cicd/docker/Dockerfile.frontend b/cicd/docker/Dockerfile.frontend index fa9d33e..c0ec7be 100644 --- a/cicd/docker/Dockerfile.frontend +++ b/cicd/docker/Dockerfile.frontend @@ -1,5 +1,5 @@ # Build stage -FROM node:22-alpine AS build +FROM public.ecr.aws/docker/library/node:22-alpine AS build WORKDIR /app # Install dependencies — copy lockfiles first to cache the npm layer @@ -18,7 +18,7 @@ COPY src/frontend/public/ ./public/ RUN npm run build # Serve stage -FROM nginx:alpine AS runtime +FROM public.ecr.aws/docker/library/nginx:alpine AS runtime COPY --from=build /app/dist /usr/share/nginx/html COPY cicd/docker/nginx.conf /etc/nginx/conf.d/default.conf