Skip to content

Commit c76f365

Browse files
committed
Fix indexer build
1 parent 056791b commit c76f365

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/indexer/microservice/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ COPY pom.xml .
99
COPY cli cli
1010
COPY core core
1111
COPY microservice microservice
12+
COPY functions functions
1213

1314
RUN chmod +x ./mvnw
1415
# Convert CRLF to LF
@@ -23,7 +24,7 @@ COPY --from=build ${DEPENDENCY}/BOOT-INF/lib /app/lib
2324
COPY --from=build ${DEPENDENCY}/META-INF /app/META-INF
2425
COPY --from=build ${DEPENDENCY}/BOOT-INF/classes /app
2526

26-
RUN curl -LJ -o /app/applicationinsights-agent-3.4.19.jar https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.4.19/applicationinsights-agent-3.4.19.jar
27+
RUN curl -s -LJ -o /app/applicationinsights-agent-3.4.19.jar https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.4.19/applicationinsights-agent-3.4.19.jar
2728
COPY microservice/applicationinsights.json /app
2829

29-
ENTRYPOINT ["java","-javaagent:/app/applicationinsights-agent-3.4.19.jar","-noverify", "-XX:MaxRAMPercentage=70", "-XX:+UseParallelGC", "-XX:ActiveProcessorCount=2", "-cp","app:app/lib/*","com.microsoft.openai.samples.indexer.service.Application"]
30+
ENTRYPOINT ["java","-javaagent:/app/applicationinsights-agent-3.4.19.jar","-noverify", "-XX:MaxRAMPercentage=70", "-XX:+UseParallelGC", "-XX:ActiveProcessorCount=2", "-cp","app:app/lib/*","com.microsoft.openai.samples.indexer.service.Application"]

0 commit comments

Comments
 (0)