From e45c433797d5f04e67f1463078c225202bf7b5c8 Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Thu, 21 Nov 2024 14:51:09 +0300 Subject: [PATCH] build(docker): edit CMD to reference app.js to run the application --- .dockerignore | 8 +++++--- dockerfile | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.dockerignore b/.dockerignore index 5f79269..cc0606a 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,6 +1,8 @@ node_modules -.git -.DS_Store npm-debug.log -*test +.DS_Store +tests +*.test.js *.log +.git +.env \ No newline at end of file diff --git a/dockerfile b/dockerfile index 7547004..b38b7e0 100644 --- a/dockerfile +++ b/dockerfile @@ -17,4 +17,4 @@ COPY . . EXPOSE 3000 # Command to run the application -CMD ["node", "src/server.js"] +CMD ["node", "src/app.js"]