diff --git a/Dockerfile b/Dockerfile index a2c4915..736ed63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage that builds the application, a prerequisite for the running stage -FROM eclipse-temurin:21-jdk-jammy as build +FROM eclipse-temurin:21-jdk-jammy AS build ARG SERVICE_ROOT @@ -30,4 +30,4 @@ USER app COPY --chown=app --from=build /usr/src/app/build/libs/*-SNAPSHOT.jar /usr/app/app.jar EXPOSE 8080 -CMD java -jar /usr/app/app.jar +CMD ["java", "-jar", "/usr/app/app.jar"] diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml deleted file mode 100644 index cf5f2ee..0000000 --- a/src/main/resources/logback.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - utf8 - ${CONSOLE_LOG_PATTERN} - - - - - - - - - - - - - - -