Skip to content

Commit

Permalink
Merge pull request #230 from TAMULib/staging-sprint_11-docker_build_f…
Browse files Browse the repository at this point in the history
…ixes

Descriptors directory is required to compile in the build and run Dockerfile.
  • Loading branch information
kaladay authored Nov 14, 2023
2 parents 4ffc836 + 6e1cf8d commit bc5ccc8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/build_and_run/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN mkdir /mod-camunda
WORKDIR /mod-camunda

# copy required files
COPY ./pom.xml ./pom.xml
COPY ./src ./src
COPY ./descriptors ./descriptors

# build
RUN mvn package
Expand All @@ -27,7 +31,7 @@ RUN apt-get update && \
WORKDIR /mod-camunda

# copy over the built artifact from the maven image
COPY --from=maven /target/mod-camunda*.jar ./mod-camunda.jar
COPY --from=maven /mod-camunda/target/mod-camunda*.jar ./mod-camunda.jar

# environment
ENV SERVER_PORT='9000'
Expand Down

0 comments on commit bc5ccc8

Please sign in to comment.