From 06d0fd6f8632a148ef36faf6048cd5b505f648db Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Wed, 5 Mar 2025 14:15:42 -0500 Subject: [PATCH] fix: improve directory structure checks and update file copy path in Dockerfile --- .github/workflows/build-bundler.yml | 12 ++++++++++++ Dockerfile.bundler | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-bundler.yml b/.github/workflows/build-bundler.yml index 347a12b1d..59b68a681 100644 --- a/.github/workflows/build-bundler.yml +++ b/.github/workflows/build-bundler.yml @@ -99,6 +99,18 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max + # Add this to see what files are in the context + build-args: | + DEBUG=1 + + # Add a step to check the directory structure + - name: Check directory structure + run: | + echo "Current directory: $(pwd)" + echo "Contents of current directory:" + ls -la + echo "Contents of www directory (if it exists):" + ls -la www || echo "www directory not found!" - name: Update deployment status run: | diff --git a/Dockerfile.bundler b/Dockerfile.bundler index a4878a512..9b5d34578 100644 --- a/Dockerfile.bundler +++ b/Dockerfile.bundler @@ -2,7 +2,7 @@ FROM nginx:alpine # Copy the bundler files (already built by the workflow) -COPY www /usr/share/nginx/html +COPY ./www /usr/share/nginx/html # Copy the custom Nginx configuration COPY .github/nginx/default.conf /etc/nginx/conf.d/default.conf