Spring Boot - Docker and Deployment
Consider this Dockerfile snippet:
What is the expected behavior when you start a container from this image?
FROM openjdk:17-jdk-slim COPY target/app.jar /app.jar EXPOSE 8080 ENTRYPOINT ["java", "-jar", "/app.jar"]
What is the expected behavior when you start a container from this image?
