-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
The current order of steps in the Dockerfile has some expensive infrequent tasks (e.g., pip install -q .
) occurring after more frequently modified file are copied (e.g., src
). The breaks layer caching and causes image builds to take longer than necessary.
Steps to reproduce:
- Run
./script/server
- Modify a file in
./src
- Run
./script/update
Expected behavior:
The step RUN pip install -q .
is cached
What I got instead:
The step RUN pip install -q .
needs to execute
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working