DAS_2023_1/podkorytova_yulia_lab_3/user-service/Dockerfile
2024-01-10 00:13:23 +04:00

7 lines
193 B
Docker

FROM openjdk:17
RUN mkdir -p /usr/src/app/
WORKDIR /usr/src/app/
COPY . /usr/src/app/
RUN ./gradlew clean build
EXPOSE 8085
ENTRYPOINT ["java","-jar","build/libs/user-service-1.0-SNAPSHOT.jar"]