optimize setup
Some checks failed
deploy to hetzner / deploy (push) Failing after 4m54s

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-08-23 00:12:17 +02:00
parent ac0a1abe34
commit d651676106
3 changed files with 4 additions and 17 deletions

View File

@@ -1,3 +1,4 @@
# Stage that builds the application, a prerequisite for the running stage
FROM eclipse-temurin:21-jdk-noble AS build
RUN apt-get update -qq
@@ -10,7 +11,7 @@ USER app
# Copy all needed project files to a folder
COPY --chown=app ./.mvn/ .mvn
COPY --chown=app ./mvnw ./pom.xml ./app.json ./
COPY --chown=app ./mvnw ./pom.xml ./
COPY --chown=app ./src ./src
RUN curl -OL https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/latest/download/opentelemetry-javaagent.jar