DockerProject/os-test-app/Dockerfile

4 lines
152 B
Docker
Raw Normal View History

2024-04-25 23:44:40 +04:00
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"]