Error: Unable to access jarfile when running docker container

后端 未结 2 1143
渐次进展
渐次进展 2021-01-20 15:16

I am getting the following error when trying to run a docker container:

Error: Unable to access jarfile

My Dockerfile is like this:

2条回答
  •  清酒与你
    2021-01-20 15:42

    I was able to resolve this by adding this to the bottom ENTRYPOINT ["java","-jar","repo-connector-1.5.4.jar"] CMD ["-start"]

提交回复
热议问题