return to start
This commit is contained in:
parent
8c1e7d0779
commit
328bd967be
@ -1,11 +1,5 @@
|
|||||||
FROM maven:3.9.9-eclipse-temurin-21 AS build
|
|
||||||
WORKDIR /app
|
|
||||||
COPY . .
|
|
||||||
RUN mvn clean package -DskipTests
|
|
||||||
|
|
||||||
FROM openjdk:21-jdk-slim
|
FROM openjdk:21-jdk-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /app/target/searchengine-*.jar searchengine.jar
|
COPY target/searchengine-*.jar searchengine.jar
|
||||||
#COPY target/searchengine-*.jar searchengine.jar
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD ["java", "-jar", "searchengine.jar"]
|
CMD ["java", "-jar", "searchengine.jar"]
|
13
pom.xml
13
pom.xml
@ -39,16 +39,11 @@
|
|||||||
<artifactId>lombok</artifactId>
|
<artifactId>lombok</artifactId>
|
||||||
<version>1.18.34</version>
|
<version>1.18.34</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- <dependency>-->
|
|
||||||
<!-- <groupId>com.mysql</groupId>-->
|
|
||||||
<!-- <artifactId>mysql-connector-j</artifactId>-->
|
|
||||||
<!-- <version>8.4.0</version>-->
|
|
||||||
<!-- <scope>runtime</scope>-->
|
|
||||||
<!-- </dependency>-->
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>mysql</groupId>
|
<groupId>com.mysql</groupId>
|
||||||
<artifactId>mysql-connector-java</artifactId>
|
<artifactId>mysql-connector-j</artifactId>
|
||||||
<version>8.0.33</version>
|
<version>8.4.0</version>
|
||||||
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>me.paulschwarz</groupId>
|
<groupId>me.paulschwarz</groupId>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user