added files

This commit is contained in:
Prasad 2023-12-09 22:13:22 +01:00
parent d69204f2c1
commit 5a2e007b2c
2 changed files with 14 additions and 0 deletions

1
.dockerignore Normal file
View file

@ -0,0 +1 @@
target

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
# syntax=docker/dockerfile:1
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"]