Skip to content

Commit db1fe2c

Browse files
authored
Merge pull request #106 from microsoft/add-directory-to-poetry
adjusting postStart for python to use container directory
2 parents 184f643 + 220f8eb commit db1fe2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/features/spacefx-dev/postStart.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ function python_poetry_install(){
233233
shift
234234
done
235235

236-
run_a_script "/root/.local/bin/poetry install ${extra_cmd}"
236+
run_a_script "/root/.local/bin/poetry install --directory=${CONTAINER_WORKING_DIR:?} ${extra_cmd}"
237237

238238

239239
info_log "END: ${FUNCNAME[0]}"

0 commit comments

Comments
 (0)