Browse Source

не та вм

master
gsd 2 years ago
parent
commit
9252e47bb0
  1. 2
      Dockerfile

2
Dockerfile

@ -3,7 +3,7 @@ WORKDIR /tmp
RUN git clone https://git.pblr-nyk.pro/gsd/Facti13.Web.Backend.Java.V2 && \
cd Facti13.Web.Backend.Java.V2 && \
mvn -f pom.xml clean package
FROM adoptopenjdk:11-jre-hotspot
FROM eclipse-temurin:18
COPY --from=builder /tmp/Facti13.Web.Backend.Java.V2/target/*.jar /app/backend.jar
WORKDIR /app
ENTRYPOINT ["java", "-jar", "backend.jar"]
Loading…
Cancel
Save