FROM openjdk:17-jdk-alpine COPY target/resource-service-api-0.1.jar message-server-1.0.0.jar ENTRYPOINT ["java","-jar","/message-server-1.0.0.jar"] # docker image build -t resource-service:latest . # docker run -p8887:8888 message-server:latest