Skip to content

fix: extract Dockerfile inline Python to web/build_zip.py#507

Merged
dmccoystephenson merged 1 commit into
mainfrom
fix/dockerfile-parse-2
Jun 28, 2026
Merged

fix: extract Dockerfile inline Python to web/build_zip.py#507
dmccoystephenson merged 1 commit into
mainfrom
fix/dockerfile-parse-2

Conversation

@dmccoystephenson

Copy link
Copy Markdown
Member

Docker parses multi-line RUN python3 -c "..." strings as Dockerfile instructions, treating import as an unknown instruction. This caused the deploy to fail with dockerfile parse error on line 11: unknown instruction: import.

Fix: move the zip-building logic to web/build_zip.py and call RUN python3 web/build_zip.py.

Closes: gateway deploy failure from PR #138.

🤖 Generated with Claude Code

Docker parses multi-line RUN strings as Dockerfile instructions, causing
'unknown instruction: import'. Move the zip-building logic to a dedicated
script to avoid the parse error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dmccoystephenson dmccoystephenson merged commit b6c6724 into main Jun 28, 2026
4 checks passed
@dmccoystephenson dmccoystephenson deleted the fix/dockerfile-parse-2 branch June 28, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant