From b912e12c4b15d94e2d15b3876fbb3eb523305dfd Mon Sep 17 00:00:00 2001 From: Paul Hathaway Date: Sat, 13 Apr 2024 13:25:06 -0600 Subject: [PATCH] Revert "Fix git header bug" --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f37ac361c..3554e4cc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,24 +11,24 @@ RUN apt-get update && \ npm install -g yarn ### install frontend dependencies -COPY ./src/main/resources/frontend/package.json ./src/main/resources/frontend/yarn.lock ./src/main/resources/frontend/ +COPY ./src/main/resources/frontend/package.json ./src/main/resources/frontend/yarn.lock /app/src/main/resources/frontend/ RUN cd src/main/resources/frontend && \ yarn ### install backend dependencies -COPY ./pom.xml . +COPY ./pom.xml /app RUN mvn dependency:go-offline ### build frontend -COPY ./src/main/resources/frontend ./src/main/resources/frontend +COPY ./src/main/resources/frontend /app/src/main/resources/frontend RUN cd src/main/resources/frontend && \ yarn build ### build backend -COPY ./src . +COPY . /app RUN mvn clean package -DskipTests