FROM python:latest

RUN pip3 install ipython jupyter
RUN apt-get update -yy && apt-get install -yy zsh htop mc git
RUN pip3 install jupyterlab-vim
RUN pip3 install pyktok yt-dlp playwright==1.44.0 TikTokApi
RUN pip3 install numpy pandas browser_cookie3 ipdb asgiref
RUN python3 -m playwright install-deps
RUN python3 -m playwright install
RUN pip3 install tqdm
RUN apt-get install -yy ffmpeg

WORKDIR /app

ENTRYPOINT ["bash", "docker/tiktok/entry.sh"]
CMD ["zsh", "-l"]