DockerProject/os-test-app/Dockerfile

4 lines
152 B
Docker

FROM eclipse-temurin:17
RUN mkdir /opt/app
COPY ./build/libs/sbapp-0.0.1-SNAPSHOT.jar /opt/app
CMD ["java", "-jar", "/opt/app/sbapp-0.0.1-SNAPSHOT.jar"]