Skip to content

Add Docker support and improve Instagram login flow#4

Open
dave-73 wants to merge 1 commit into
kaifcodec:mainfrom
dave-73:main
Open

Add Docker support and improve Instagram login flow#4
dave-73 wants to merge 1 commit into
kaifcodec:mainfrom
dave-73:main

Conversation

@dave-73
Copy link
Copy Markdown

@dave-73 dave-73 commented May 20, 2026

Adds containerized execution with Docker Compose and improves login reliability.

Changes:

  • Add Dockerfile and docker-compose.yml for isolated execution
  • Run container as a non-root user and persist runtime data under ./data
  • Ignore cookies, local data, and generated exports
  • Use instagrapi for current Instagram login and 2FA support
  • Add fallback for importing an authenticated Cookie header
  • Add httpx[http2] dependency because the scraper enables HTTP/2
  • Update README with Docker and authentication notes

Validation:

  • python -m py_compile main.py login.py
  • docker compose config
  • docker compose build

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