Skip to content
Snippets Groups Projects
Commit a09f8453 authored by Oleksii Tsyganov (EPAM)'s avatar Oleksii Tsyganov (EPAM)
Browse files

Disables unsafe subst for log4j

parent 9b273f62
No related branches found
No related tags found
1 merge request!186Disables unsafe subst for log4j
Pipeline #82771 failed
......@@ -9,4 +9,4 @@ ENV PORT $PORT
# Copy the jar to the production image from the builder stage.
COPY provider/legal-${PROVIDER_NAME}/target/legal-${PROVIDER_NAME}-*-spring-boot.jar legal-${PROVIDER_NAME}.jar
# Run the web service on container startup.
CMD java -Djava.security.egd=file:/dev/./urandom -Dserver.port=${PORT} -jar /app/legal-${PROVIDER_NAME}.jar
CMD java -Djava.security.egd=file:/dev/./urandom -Dserver.port=${PORT} -Dlog4j.formatMsgNoLookups=true -jar /app/legal-${PROVIDER_NAME}.jar
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment