Skip to content

Commit

Permalink
Create Dockerfile.windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeetraina authored Apr 3, 2024
1 parent 39ecacc commit 63fb797
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile.windows
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM eclipse-temurin:17-jdk-jammy

WORKDIR /app

COPY .mvn/ .mvn
COPY mvnw pom.xml ./
RUN apt-get update && apt-get install -y dos2unix
RUN dos2unix ./mvnw
RUN ./mvnw dependency:resolve

COPY src ./src

CMD ["./mvnw", "spring-boot:run"]

0 comments on commit 63fb797

Please sign in to comment.