From 8097fe1bc4e0a2083cb410dd1a1199be7f44baa1 Mon Sep 17 00:00:00 2001 From: Fedor Skvortsov Date: Tue, 19 Apr 2022 18:08:56 +0300 Subject: [PATCH] fix: name of `dependency` directory --- react-java-mysql/backend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react-java-mysql/backend/Dockerfile b/react-java-mysql/backend/Dockerfile index 949dd0a..fd8b0a1 100755 --- a/react-java-mysql/backend/Dockerfile +++ b/react-java-mysql/backend/Dockerfile @@ -5,7 +5,7 @@ RUN mvn dependency:go-offline COPY src /workdir/server/src RUN mvn install -RUN mkdir -p target/depency +RUN mkdir -p target/dependency WORKDIR /workdir/server/target/dependency RUN jar -xf ../*.jar @@ -17,4 +17,4 @@ ARG DEPENDENCY=/workdir/server/target/dependency COPY --from=builder ${DEPENDENCY}/BOOT-INF/lib /app/lib COPY --from=builder ${DEPENDENCY}/META-INF /app/META-INF COPY --from=builder ${DEPENDENCY}/BOOT-INF/classes /app -ENTRYPOINT ["java","-cp","app:app/lib/*","com.company.project.Application"] \ No newline at end of file +ENTRYPOINT ["java","-cp","app:app/lib/*","com.company.project.Application"]