Selaa lähdekoodia

dockerfile: update 2

Yi 6 kuukautta sitten
vanhempi
commit
838f94f645
1 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. 4 3
      Dockerfile

+ 4 - 3
Dockerfile

@@ -21,10 +21,11 @@ owner="yiping.xu"
 WORKDIR /app/kpt-pasture
 
 
-COPY --from=0 /app/kpt-pasture/config/ /app/kpt-pasture/bin/config/
-COPY --from=0  /app/kpt-pasture/bin/kptPasture /app/kpt-pasture/bin/kptPasture
+COPY --from=0 /app/kpt-pasture/config/ /app/kpt-pasture/config/
+COPY --from=0  /app/kpt-pasture/bin/kptPasture /app/kpt-pasture/kptPasture
 
-RUN ls -l /app/kpt-pasture && RUN  /app/kpt-pasture/config && RUN /app/kpt-pasture/bin
+RUN ls -l /app/kpt-pasture &&  RUN /app/kpt-pasture/bin
+RUN ls -l /app/kpt-pasture/config
 
 EXPOSE 8090
 VOLUME ["/app/kpt-pasture/logger","/app/kpt-pasture/bin/config","/app/kpt-pasture/files"]