Browse Source

project: ècicd 2

Yi 1 year ago
parent
commit
a33f895cc8
1 changed files with 7 additions and 1 deletions
  1. 7 1
      Dockerfile

+ 7 - 1
Dockerfile

@@ -21,6 +21,12 @@ owner="yiping.xu"
 
 WORKDIR /app/kpt-tmr
 
+RUN ls -l /app/kpt-tmr/config
 
 COPY --from=0 /app/kpt-tmr/config/*.ini /app/kpt-tmr/bin/config/
-COPY --from=0  /app/kpt-tmr/bin/kptTmr /app/kpt-tmr/bin/kptTmr
+COPY --from=0  /app/kpt-tmr/bin/kptTmr /app/kpt-tmr/bin/kptTmr
+
+EXPOSE 8081
+VOLUME /bin/logger
+
+CMD ["/app/kpt-tmr/bin/kptTmr"]