Files
instaloader_1/Dockerfile
smolkik-code 1bd68c9a0e rewrite: switch from instaloader to Instagram Private API
instaloader blocked by Instagram GraphQL 403. Using mobile API instead:
- i.instagram.com/api/v1 endpoints (same as Android app)
- Direct cookie loading from cookies.txt
- Stories, posts, albums, videos
- Random delays between requests
- Removed instaloader dependency, using requests directly
2026-06-17 12:02:51 +07:00

17 lines
292 B
Docker

FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && \
apt-get install -y --no-install-recommends curl && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p /data/downloads
CMD ["python", "bot.py"]