Added Dockefile + dockeringore
Some checks failed
Build and push image / deploy (push) Failing after 18s

This commit is contained in:
2024-01-29 00:42:07 +03:00
parent 4760dd476f
commit 9749520d00
2 changed files with 12 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
target

11
Dockerfile Normal file
View 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"]