From 287f04116c2ea3bd74a7fc41f937efd352e05b1c Mon Sep 17 00:00:00 2001 From: Fabiano Martins Date: Tue, 4 Feb 2025 23:39:44 -0300 Subject: [PATCH] Copy Newrelic.js to the final image layer --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bd08c687..371b043e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,8 +51,10 @@ COPY --from=builder /evolution/Docker ./Docker COPY --from=builder /evolution/runWithProvider.js ./runWithProvider.js COPY --from=builder /evolution/tsup.config.ts ./tsup.config.ts +COPY newrelic.js . + ENV DOCKER_ENV=true EXPOSE 8080 -ENTRYPOINT ["/bin/bash", "-c", ". ./Docker/scripts/deploy_database.sh && npm run start:prod" ] \ No newline at end of file +ENTRYPOINT ["/bin/bash", "-c", ". ./Docker/scripts/deploy_database.sh && npm run start:prod" ]