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