Ver Fonte

dockerfile: update 2

Yi há 6 meses atrás
pai
commit
838f94f645
1 ficheiros alterados com 4 adições e 3 exclusões
  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"]