Spaces:
Running
Running
CONTAINER_NAME=dev-pip-tools-$(basename `git rev-parse --show-toplevel`) | |
docker build \ | |
-f Dockerfile \ | |
--target pip-tools-install \ | |
--tag $CONTAINER_NAME \ | |
. \ | |
&& docker run -it \ | |
--rm \ | |
--mount type=bind,source="$(pwd)/src",target=/home/user/src \ | |
$CONTAINER_NAME \ | |
pip-compile requirements.in --resolver=backtracking | |