From e260df0de2542040a880ee12e35b53b1a07ccfd8 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sun, 17 Oct 2021 16:51:28 +0200 Subject: [PATCH] fixes --- docker-compose.yaml | 4 ++-- tapas-tasks/Dockerfile | 18 ------------------ 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 tapas-tasks/Dockerfile diff --git a/docker-compose.yaml b/docker-compose.yaml index 8c4bfcf..1364b66 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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 diff --git a/tapas-tasks/Dockerfile b/tapas-tasks/Dockerfile deleted file mode 100644 index db90fb6..0000000 --- a/tapas-tasks/Dockerfile +++ /dev/null @@ -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"]