DockerProject/os-test-app/Dockerfile
2024-04-26 13:42:06 +04:00

5 lines
146 B
Docker

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