From 07d0ec3b18c10932c85c5e9cda11e90f615a7310 Mon Sep 17 00:00:00 2001 From: HDJ Date: Fri, 10 Feb 2023 13:52:33 +0100 Subject: [PATCH] fix build issues in Dockerfile --- k8s/broccoli-server/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/broccoli-server/Dockerfile b/k8s/broccoli-server/Dockerfile index 0fbcad6..ffe6f77 100644 --- a/k8s/broccoli-server/Dockerfile +++ b/k8s/broccoli-server/Dockerfile @@ -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