Skip to content

Commit

Permalink
fix: improve directory structure checks and update file copy path in …
Browse files Browse the repository at this point in the history
…Dockerfile
  • Loading branch information
danny-avila committed Mar 5, 2025
1 parent 3245c3f commit 06d0fd6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/build-bundler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.bundler
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06d0fd6

Please sign in to comment.