From 8c5e518f1a42dc376a21fe3af7bc2cd0de36015e Mon Sep 17 00:00:00 2001 From: nagarajaPC-AOT Date: Tue, 24 Sep 2024 15:34:00 -0700 Subject: [PATCH 1/2] removing unwanted files from src folder --- api/.dockerignore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/.dockerignore b/api/.dockerignore index b7dab5e9..11c409ff 100644 --- a/api/.dockerignore +++ b/api/.dockerignore @@ -1,2 +1,5 @@ node_modules -build \ No newline at end of file +.nyc_output +.env +.git +*.log \ No newline at end of file From 604dabf330138a6141ce1eec2f39b0cf40f7627d Mon Sep 17 00:00:00 2001 From: nagarajaPC-AOT Date: Tue, 24 Sep 2024 15:38:09 -0700 Subject: [PATCH 2/2] adding line to check securit issues in docker file --- api/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/api/Dockerfile b/api/Dockerfile index 3af5e02c..eaec18ba 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -17,4 +17,5 @@ EXPOSE 7085 RUN chmod +x ./container-entrypoint.sh ENTRYPOINT ["./container-entrypoint.sh"] + CMD ["node", "index.js"] \ No newline at end of file