Skip to content

Commit bb29f2c

Browse files
authored
Fix git clone for tfs container (#5)
1 parent 37a1c43 commit bb29f2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nucleus/generate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,8 @@ def build_tensorflow_dockerfile(config: dict, tfs_dockerfile: bytes, dev_env: bo
363363
]
364364
else:
365365
tfs_lines += [
366-
"RUN git clone --depth 1 -b ${CORTEX_MODEL_SERVER_VERSION} https://github.com/cortexlabs/nucleus \\",
366+
"RUN git clone --depth 1 -b ${CORTEX_MODEL_SERVER_VERSION} https://github.com/cortexlabs/nucleus && \\",
367+
" mkdir /src && \\",
367368
" cp nucleus/nucleus/templates/tfs-run.sh /src/ && \\",
368369
" rm -r nucleus/",
369370
]

0 commit comments

Comments
 (0)