Commit 9d284477 authored by Oleksii Tsyganov (EPAM)'s avatar Oleksii Tsyganov (EPAM)
Browse files

Disables unsafe subst for log4j

parent 5e7d6e98
Pipeline #82745 failed with stages
in 46 minutes and 13 seconds
......@@ -9,5 +9,5 @@ ENV PORT $PORT
# Copy the jar to the production image from the builder stage.
COPY provider/indexer-${PROVIDER_NAME}/target/indexer-${PROVIDER_NAME}-*-spring-boot.jar indexer-${PROVIDER_NAME}.jar
# Run the web service on container startup.
CMD java -Dserver.port=${PORT} -jar /app/indexer-${PROVIDER_NAME}.jar
CMD java -Dserver.port=${PORT} -Dlog4j.formatMsgNoLookups=true -jar /app/indexer-${PROVIDER_NAME}.jar
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment