From 2a4a1e8e146ee7c05b3eb84301baa0b560561d76 Mon Sep 17 00:00:00 2001 From: "Peter.Morton" Date: Wed, 11 Oct 2023 19:19:01 -0500 Subject: [PATCH] Dont push .env and other '.' folders --- .dockerignore | 1 + .env | 4 +++- Dockerfile | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 93f1361..da1d229 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,3 @@ node_modules npm-debug.log +.* diff --git a/.env b/.env index b5b5927..b4e2dd9 100644 --- a/.env +++ b/.env @@ -7,4 +7,6 @@ EO_API_ACCESS_TOKEN_URL = https://em5.verint.training/oidc-token-service/default EO_API_UDG_URL = unified-data-gateway/default/graphql JWT_SECRET = 12356789 -PORT = 3000 \ No newline at end of file +PORT = 3000 + +REDIS_URL = redis://localhost:6379 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index bb3b070..3ffc82f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ WORKDIR /usr/src/app COPY package*.json ./ # continuous integration for production -RUN npm ci --only=production +RUN npm ci --omit=dev # Bundle app source COPY . .