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
|
||||
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
|
||||
CMD ["java", "-jar", "searchengine.jar"]
|
13
pom.xml
13
pom.xml
@ -39,16 +39,11 @@
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.34</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.mysql</groupId>-->
|
||||
<!-- <artifactId>mysql-connector-j</artifactId>-->
|
||||
<!-- <version>8.4.0</version>-->
|
||||
<!-- <scope>runtime</scope>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>8.0.33</version>
|
||||
<groupId>com.mysql</groupId>
|
||||
<artifactId>mysql-connector-j</artifactId>
|
||||
<version>8.4.0</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>me.paulschwarz</groupId>
|
||||
|
Loading…
x
Reference in New Issue
Block a user