Skip to content

Commit 41901a5

Browse files
deliahuvishalbollu
authored andcommitted
Change to project directory earlier in run.sh (#864)
(cherry picked from commit f09cfaa)
1 parent 23e5dcf commit 41901a5

File tree

1 file changed

+2
-2
lines changed
  • pkg/workloads/cortex/serve

1 file changed

+2
-2
lines changed

pkg/workloads/cortex/serve/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
set -e
1818

19+
cd /mnt/project
20+
1921
# If the container restarted, ensure that it is not perceived as ready
2022
rm -rf /mnt/api_readiness.txt
2123

@@ -32,8 +34,6 @@ if [ -f "/mnt/project/requirements.txt" ]; then
3234
pip --no-cache-dir install -r /mnt/project/requirements.txt
3335
fi
3436

35-
cd /mnt/project
36-
3737
# Ensure predictor print() statements are always flushed
3838
export PYTHONUNBUFFERED=TRUE
3939

0 commit comments

Comments
 (0)