File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
imagetool/src/main/resources/docker-files Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,14 @@ ENV AUXILIARY_IMAGE_PATH={{{wdt_home}}} \
40
40
WDT_HOME={ {{wdt_home} }} \
41
41
WDT_MODEL_HOME={ {{wdt_model_home} }}
42
42
43
- RUN mkdir -p { {{wdt_home} }} { {{wdt_model_home} }} \
44
- && chown { {userid} }:{ {groupid} } { {{wdt_home} }} { {{wdt_model_home} }}
45
- COPY --from=wdt_build --chown={ {userid} }:{ {groupid} } { {wdt_home} } { {wdt_home} }/
43
+ { {#installWdt} }
44
+ RUN mkdir -p { {{wdt_home} }} && chown { {userid} }:{ {groupid} } { {{wdt_home} }}
45
+ COPY --from=wdt_build --chown={ {userid} }:{ {groupid} } { {wdt_home} } { {wdt_home} }/
46
+ { {/installWdt} }
47
+
48
+ { {#hasWdtFiles} }
49
+ RUN mkdir -p { {{wdt_model_home} }} && chown { {userid} }:{ {groupid} } { {{wdt_model_home} }}
50
+ { {/hasWdtFiles} }
46
51
47
52
{ {#wdtModels} }
48
53
COPY --chown={ {userid} }:{ {groupid} } { {{.} }} { {{wdt_model_home} }}/
You can’t perform that action at this time.
0 commit comments