FROM openjdk:17-jdk-alpine RUN apk update RUN apk upgrade COPY target/explorer_rs-0.1.jar /app/explorer_rs-0.1.jar WORKDIR /app # ENTRYPOINT ["java","-jar","/app/resource-service-api-0.1.jar"] # docker image build -t resource-service-api:latest . # docker run -d -p80:8181 resource-service-api:latest