ADRs #30
|
@ -30,6 +30,10 @@
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-validation</artifactId>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.projectlombok</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
<artifactId>lombok</artifactId>
|
<artifactId>lombok</artifactId>
|
||||||
|
|
18
tapas-tasks/Dockerfile
Normal file
18
tapas-tasks/Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
FROM openjdk:11 AS development
|
||||||
|
|
||||||
|
WORKDIR /opt/app
|
||||||
|
|
||||||
|
# ENV SPRING_DATASOURCE_URL=jdbc:mysql://backend-db:3306/db
|
||||||
|
|
||||||
|
COPY .mvn/ .mvn
|
||||||
|
COPY mvnw pom.xml mvnw.cmd ./
|
||||||
|
|
||||||
|
RUN apt-get clean && apt-get update && apt-get install dos2unix
|
||||||
|
RUN dos2unix mvnw
|
||||||
|
|
||||||
|
RUN ./mvnw dependency:go-offline
|
||||||
|
|
||||||
|
COPY src /opt/app/src
|
||||||
|
COPY *target /opt/app/target
|
||||||
|
|
||||||
|
CMD ["./mvnw", "spring-boot:run", "-Dspring-boot.run.jvmArguments=\"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005\"", "-Dspring.devtools.restart.enabled=true"]
|
Loading…
Reference in New Issue
Block a user