I am unable to load swagger api using Docker where as the jar file runs fine: java -jar abc.jar
My swagger api doc: http://localhost:8080/api-docs/swagger.json
Docker File
FROM openjdk:14.0.2 RUN mkdir /opt/app COPY ./build/libs/OrderManagementSystem-1.0-SNAPSHOT.jar /opt/app EXPOSE 8080 CMD ["java", "-jar", "/opt/app/OrderManagementSystem-1.0-SNAPSHOT.jar"] Command
docker run -p 3333:8080 order-price I am unable to load the page http://localhost:8080/swagger