docker template for fast development using pipenv.
It is really annoying to rebuild docker image after installing new package by pipenv while you develop.
This template solves this problem by installing python packages after docker-compose build
and cache those into Docker Volume.
pipenv is coupled tightlly with virtualenv so that you need to activate virutalenv before execute python script.
This template solves this problem by hooking login using ENTRYPOINT
of Dockerfile and .bashrc
so that you are automatically logged in to pipenv environment same as pipenv shell
.
On Windows OS, use the pipenv_docker batch file to start the docker and then use the following method
google-scholar-scraper
By running the scraper_start shell 100 articles related to the keywords you entered related to the keyword
Use Dockerfile.dev
.
Install pip packages using pipenv virtualenv and cache environments to Docker Volume.
Install python environments at ENTRYPOINT using Entrykit.
You are automatically logged in pipenv environment at following use cases.
docker-compose run --rm app bash
docker-compose up -d && docker-compose exec app bash
command
in docker-compose.yml
Use Dockerfile
.
Install pip packages by pipenv install --system --deploy
to global (system) environment.
Avoid redundant virtualization (Docker, virtualenv in pipenv).
MIT