Added Dockefile + dockeringore
Some checks failed
Build and push image / deploy (push) Failing after 18s
Some checks failed
Build and push image / deploy (push) Failing after 18s
This commit is contained in:
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
target
|
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
FROM eclipse-temurin:17-jdk-jammy
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY .mvn/ .mvn
|
||||||
|
COPY mvnw pom.xml ./
|
||||||
|
RUN ./mvnw dependency:resolve
|
||||||
|
|
||||||
|
COPY src ./src
|
||||||
|
|
||||||
|
CMD ["./mvnw", "spring-boot:run"]
|
Reference in New Issue
Block a user