Skip to content

fix: use STATIC_DIR env var for static files in Docker#12

Merged
amiller68 merged 1 commit intomainfrom
static-patch
Feb 13, 2026
Merged

fix: use STATIC_DIR env var for static files in Docker#12
amiller68 merged 1 commit intomainfrom
static-patch

Conversation

@amiller68
Copy link
Owner

Summary

  • Fix Docker container startup failure caused by static files directory not found
  • Server now reads STATIC_DIR environment variable (set in Dockerfile) instead of hardcoded relative path
  • Resolves RuntimeError: Directory 'static' does not exist when running from /app

Test plan

  • Deploy to production and verify container starts successfully
  • Verify static assets (favicon, icons) load correctly

🤖 Generated with Claude Code

The server was using a relative "static" path which doesn't exist
when running from /app in Docker. Now reads STATIC_DIR env var
set in the Dockerfile startup script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@amiller68 amiller68 marked this pull request as ready for review February 13, 2026 05:39
@amiller68 amiller68 merged commit 65e4cbd into main Feb 13, 2026
11 checks passed
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