Closed kaladay closed 6 months ago
This is pending approval for the build_and_run Dockerfile changes.
As seen in the mod-camunda Dockerfile, change Dockerfile to operate not in the root directory. That is to say, add the following between line 9 and line 10 in the mod-workflow Dockerfile:
RUN mkdir /mod-workflow WORKDIR /mod-workflow
As seen in the mod-camunda Dockerfile, replace lines 10 through 17 in the mod-workflow Dockerfile with this:
# copy required files COPY ./pom.xml ./pom.xml COPY ./components ./components COPY ./service ./service
As seen in the mod-camunda Dockerfile, replace line 40 in the mod-workflow Dockerfile with this:
COPY --from=maven /mod-workflow/service/target/workflow-service*.jar ./mod-workflow.jar
/service/
target
What this achieves is:
We are planning on getting rid of the build and run Dockerfile and so this should no longer be needed.
This is pending approval for the build_and_run Dockerfile changes.
Steps
As seen in the mod-camunda Dockerfile, change Dockerfile to operate not in the root directory. That is to say, add the following between line 9 and line 10 in the mod-workflow Dockerfile:
As seen in the mod-camunda Dockerfile, replace lines 10 through 17 in the mod-workflow Dockerfile with this:
As seen in the mod-camunda Dockerfile, replace line 40 in the mod-workflow Dockerfile with this:
/service/
beforetarget
.What this achieves is: