diff --git a/op-modules/op-sap/push-sap.bat b/op-modules/op-sap/push-sap.bat index 93461c93..73924c6c 100644 --- a/op-modules/op-sap/push-sap.bat +++ b/op-modules/op-sap/push-sap.bat @@ -27,9 +27,8 @@ if exist %df% ( ) echo --------------------------------´´½¨Dockerfile-------------------------------- echo FROM 192.168.202.36:30002/library/openjdk:8u131-jdk-alpine >> Dockerfile -echo ADD libsapjco3.so /home/sap/libsapjco3.so >> Dockerfile -echo ADD sapjco3.jar /home/sap/sapjco3.jar >> Dockerfile -echo ENV LD_LIBRARY_PATH /home/sap >> Dockerfile +echo ADD libsapjco3.so /usr/lib/libsapjco3.so >> Dockerfile +echo ENV LD_LIBRARY_PATH /usr/lib >> Dockerfile echo COPY %jarName% /application.jar >> Dockerfile echo RUN echo "Asia/Shanghai" ^> /etc/timezone >> Dockerfile echo CMD ["java", "-jar", "-Dspring.profiles.active=%profile%", "application.jar"] >> Dockerfile