Skip to content

Fix: copy plex_poller.py into Docker image#3

Draft
jwsoat wants to merge 1 commit into
devfrom
claude/fix-dockerfile-plex-poller
Draft

Fix: copy plex_poller.py into Docker image#3
jwsoat wants to merge 1 commit into
devfrom
claude/fix-dockerfile-plex-poller

Conversation

@jwsoat

@jwsoat jwsoat commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Problem

api/main.py now does import plex_poller, but api/Dockerfile only copied main.py, gdrive.py and static/. The built image is missing plex_poller.py, so the container crashes on startup:

ModuleNotFoundError: No module named 'plex_poller'

This blocks running dev on Docker (Desktop or Compose).

Fix

Add plex_poller.py to the COPY line in the Dockerfile.

No new dependencies were introduced by the Plex poller (stdlib only), so requirements.txt is unchanged.

Note: couldn't build in the dev sandbox (registry pull is network-blocked there), but the missing-file cause is unambiguous from inspection.

🤖 Generated with Claude Code


Generated by Claude Code

main.py imports plex_poller, but the Dockerfile didn't COPY it, so the
container crashed on startup with ModuleNotFoundError: plex_poller.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CebgqPZm1LKGrUJVUa6R2X
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.

2 participants