DAS_2023_1/mashkova_margarita_lab_3/student-service/Dockerfile

7 lines
208 B
Docker
Raw Permalink Normal View History

2023-12-14 09:39:03 +04:00
FROM openjdk:17-jdk
WORKDIR /app
COPY ./student-service/build/libs/student-service-1.0-SNAPSHOT.jar /app/student-service-1.0-SNAPSHOT.jar
EXPOSE 8081
CMD ["java", "-jar", "student-service-1.0-SNAPSHOT.jar"]