Skip to content

Commit

Permalink
Merge pull request #8 from knaw-huc/github-workflow
Browse files Browse the repository at this point in the history
fix build issues in Dockerfile
  • Loading branch information
hayco authored Feb 10, 2023
2 parents a1c04c3 + 07d0ec3 commit c932d76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions k8s/broccoli-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM maven:3.8.5 as builder

WORKDIR /build/
COPY ./src /build/
COPY ./src /build/src
COPY ./pom.xml /build/
RUN mvn --no-transfer-progress --batch-mode --update-snapshots --also-make package

FROM openjdk:18.0.1.1-slim-buster

WORKDIR /apps/broccoli
COPY --from=builder /build/server/target/broccoli-*.jar /apps/broccoli/broccoli.jar
COPY --from=builder /build/target/broccoli-*.jar /apps/broccoli/broccoli.jar
COPY ./k8s/broccoli-server/entrypoint.sh entrypoint.sh
COPY ./config.yml config.yml
EXPOSE 8080
Expand Down

0 comments on commit c932d76

Please sign in to comment.