DockerProject/os-test-app/Dockerfile

5 lines
146 B
Docker
Raw Normal View History

2024-04-25 23:44:40 +04:00
FROM eclipse-temurin:17
RUN mkdir /opt/app
2024-04-26 13:42:06 +04:00
WORKDIR /opt/app
COPY ./build/libs/sbapp-0.0.1-SNAPSHOT.jar ./app.jar
CMD ["java", "-jar", "./app.jar"]