Files
cameleer/Dockerfile.backend
hsiegeln 387ab0b674 build: simplify Dockerfiles — remove log-appender JAR and PropertiesLauncher
Spring Boot apps now launch with standard -jar. Appender classes are
bundled in the agent JAR.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 00:57:07 +02:00

20 lines
589 B
Docker

FROM eclipse-temurin:17-jre
WORKDIR /app
COPY artifacts/agent.jar /app/agent.jar
COPY artifacts/backend-app.jar /app/app.jar
ENV CAMELEER_AGENT_EXPORT_TYPE=HTTP
ENV CAMELEER_AGENT_EXPORT_ENDPOINT=http://cameleer-server:8081
ENV CAMELEER_AGENT_APPLICATION=backend-app
ENV CAMELEER_AGENT_ENVIRONMENT=default
ENV CAMELEER_AGENT_ROUTECONTROL_ENABLED=false
ENV CAMELEER_AGENT_REPLAY_ENABLED=false
LABEL prometheus.scrape="true"
LABEL prometheus.path="/actuator/prometheus"
LABEL prometheus.port="8081"
EXPOSE 8080 8081
ENTRYPOINT exec java \
-javaagent:/app/agent.jar \
-jar /app/app.jar