Browse Source

dockerfile: volume

Yi 1 year ago
parent
commit
482ed95ff4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -25,6 +25,6 @@ COPY --from=0 /app/kpt-tmr-group/config/*.yaml /app/kpt-tmr-group/bin/config/
 COPY --from=0  /app/kpt-tmr-group/bin/kptTmrGroup /app/kpt-tmr-group/bin/kptTmrGroup
 
 EXPOSE 8090
-VOLUME /app/kpt-tmr-group/logger
+VOLUME ["/app/kpt-tmr-group/logger","/app/kpt-tmr-group/bin/config"]
 
 CMD ["/app/kpt-tmr-group/bin/kptTmrGroup","http"]