DAS_2023_1/arutunyan_dmitry_lab_3/order-service/Dockerfile

7 lines
206 B
Docker
Raw Normal View History

2023-11-12 20:59:21 +04:00
FROM openjdk:17-jdk
WORKDIR /app
COPY ./order-service/build/libs/order-service-0.0.1-SNAPSHOT.jar /app/order-service-0.0.1-SNAPSHOT.jar
EXPOSE 8081
CMD ["java", "-jar", "order-service-0.0.1-SNAPSHOT.jar"]