From 76f0e56833d84bd6d3d72c8f37db0ab01baffcdc Mon Sep 17 00:00:00 2001 From: HardlyDifficult Date: Wed, 18 Jun 2025 10:09:41 -0400 Subject: [PATCH] Add docker debug logs --- Dockerfile.prod | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Dockerfile.prod b/Dockerfile.prod index a2d6309a..6b0d6f60 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -6,7 +6,20 @@ WORKDIR /app # Copy package files first to leverage Docker cache COPY package.json yarn.lock ./ -RUN yarn install + +# Debug network connectivity +# Print Node and Yarn versions for debugging +RUN node -v && yarn -v +# List files before install for debugging +RUN ls -al /app +# Check network connectivity +RUN ping -c 4 registry.yarnpkg.com + +# Run yarn install with verbose logging +RUN yarn install --verbose + +# List files after install for debugging +RUN ls -al /app # Then copy the rest of the files COPY . .