Skip to content

Commit 99ffb6e

Browse files
author
Davide Moro
committed
enable pip cache on docker
1 parent abba7e7 commit 99ffb6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

{{cookiecutter.project_slug}}/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ docker-build:
8989
docker build -t {{cookiecutter.project_slug}} -t {{cookiecutter.project_slug}}:latest --cache-from {{cookiecutter.project_slug}}:latest .
9090

9191
docker-run: docker-build
92-
docker run --rm -i {{cookiecutter.project_slug}}
92+
docker run --rm -i {{cookiecutter.project_slug}} -v ~/.cache/pip:/root/.cache/pip

0 commit comments

Comments
 (0)