Skip to content

Commit 06d0fd6

Browse files
committed
fix: improve directory structure checks and update file copy path in Dockerfile
1 parent 3245c3f commit 06d0fd6

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/build-bundler.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,18 @@ jobs:
9999
labels: ${{ steps.meta.outputs.labels }}
100100
cache-from: type=gha
101101
cache-to: type=gha,mode=max
102+
# Add this to see what files are in the context
103+
build-args: |
104+
DEBUG=1
105+
106+
# Add a step to check the directory structure
107+
- name: Check directory structure
108+
run: |
109+
echo "Current directory: $(pwd)"
110+
echo "Contents of current directory:"
111+
ls -la
112+
echo "Contents of www directory (if it exists):"
113+
ls -la www || echo "www directory not found!"
102114
103115
- name: Update deployment status
104116
run: |

Dockerfile.bundler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM nginx:alpine
33

44
# Copy the bundler files (already built by the workflow)
5-
COPY www /usr/share/nginx/html
5+
COPY ./www /usr/share/nginx/html
66

77
# Copy the custom Nginx configuration
88
COPY .github/nginx/default.conf /etc/nginx/conf.d/default.conf

0 commit comments

Comments
 (0)