fixes
This commit is contained in:
parent
009e4b219d
commit
e260df0de2
|
@ -31,7 +31,7 @@ services:
|
|||
dockerfile: "Dockerfile"
|
||||
target: development
|
||||
ports:
|
||||
- "8083:8081"
|
||||
- "8083:8083"
|
||||
- "5007:5005"
|
||||
volumes:
|
||||
- ./executor-pool/src:/opt/app/src
|
||||
|
@ -43,7 +43,7 @@ services:
|
|||
dockerfile: "Dockerfile"
|
||||
target: development
|
||||
ports:
|
||||
- "8084:8081"
|
||||
- "8084:8084"
|
||||
- "5008:5005"
|
||||
volumes:
|
||||
- ./executor1/src:/opt/app/src
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
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