Pārlūkot izejas kodu

dockerfile: update

Yi 6 mēneši atpakaļ
vecāks
revīzija
ad1b361c80
2 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 2 0
      Dockerfile
  2. 2 0
      docker-compose.yml

+ 2 - 0
Dockerfile

@@ -24,6 +24,8 @@ 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
 
+RUN ls -l /app/kpt-pasture && RUN  /app/kpt-pasture/config && RUN /app/kpt-pasture/bin
+
 EXPOSE 8090
 VOLUME ["/app/kpt-pasture/logger","/app/kpt-pasture/bin/config","/app/kpt-pasture/files"]
 

+ 2 - 0
docker-compose.yml

@@ -12,6 +12,8 @@ services:
     environment:
       - APP_ENVIRONMENT=production
       - DTM_WORK_DIR=/app/kpt-pasture/bin
+    ports:
+      - "8091:8090"
     command: [ "/app/kpt-pasture/bin/kptPasture","crontab" ]
   kpt-dtm-http:
     privileged: true