spring_boot_docker/Dockerfile

4 lines
124 B
Docker
Raw Permalink Normal View History

2022-10-17 09:21:32 +03:00
FROM openjdk:17.0.2-jdk-slim-buster
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]