Dont push .env and other '.' folders

This commit is contained in:
Peter Morton 2023-10-11 19:19:01 -05:00
parent 0e64f654ec
commit 2a4a1e8e14
3 changed files with 5 additions and 2 deletions

View File

@ -1,2 +1,3 @@
node_modules
npm-debug.log
.*

4
.env
View File

@ -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
PORT = 3000
REDIS_URL = redis://localhost:6379

View File

@ -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 . .