add lock file.

This commit is contained in:
Nawaz Dhandala 2021-06-21 23:07:40 +01:00
parent 0259543ff2
commit b463d2a198
14 changed files with 27 additions and 26 deletions

View File

@ -13,10 +13,11 @@ WORKDIR /usr/src/app
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
# Install app dependencies
RUN npm install
RUN npm ci
# Expose ports.
# - 3003: accounts

View File

@ -13,10 +13,11 @@ WORKDIR /usr/src/app
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
# Install app dependencies
RUN npm install
RUN npm ci
# Expose ports.
# - 3100: Fyipe-admin-dashboard

View File

@ -13,10 +13,11 @@ WORKDIR /usr/src/app
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
# Install app dependencies
RUN npm install
RUN npm ci
# Expose ports.
# - 3000: Fyipe

View File

@ -19,9 +19,10 @@ RUN cd /usr/src/app
RUN mkdir -p greenlock.d
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
RUN npm install
RUN npm ci
# Expose ports.
# - 3002: Fyipe-backend

View File

@ -13,10 +13,11 @@ WORKDIR /usr/src/app
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
# Install app dependencies
RUN npm install
RUN npm ci
# Expose ports.
# - 1445: Fyipe Docs

View File

@ -58,7 +58,6 @@ services:
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- /usr/src/app/package-lock.json
# There can only be one probe in developer docker compose.
probe:
@ -81,7 +80,6 @@ services:
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- /usr/src/app/package-lock.json
api-docs:
ports:
@ -98,7 +96,6 @@ services:
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- /usr/src/app/package-lock.json
init-script:
build:
@ -114,7 +111,6 @@ services:
- REDIS_HOST=redis
- REDIS_PORT=6379
- IS_SAAS_SERVICE=${IS_SAAS_SERVICE}
- NODE_ENV=${NODE_ENV}
depends_on:
- mongo
- redis
@ -123,7 +119,6 @@ services:
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- /usr/src/app/package-lock.json
script-runner:
ports:
@ -139,7 +134,6 @@ services:
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- /usr/src/app/package-lock.json
backend:
ports:
@ -163,7 +157,7 @@ services:
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- /usr/src/app/package-lock.json
# Exclude greenlock as well.
- /usr/src/app/greenlock.d/
@ -182,7 +176,6 @@ services:
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- /usr/src/app/package-lock.json
home:
ports:
@ -200,7 +193,6 @@ services:
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- /usr/src/app/package-lock.json
status-page:
ports:
@ -217,7 +209,6 @@ services:
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- /usr/src/app/package-lock.json
admin-dashboard:
ports:
@ -234,7 +225,6 @@ services:
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- /usr/src/app/package-lock.json
http-test-server:
ports:
@ -252,7 +242,6 @@ services:
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- /usr/src/app/package-lock.json
licensing:
ports:
@ -270,7 +259,6 @@ services:
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- /usr/src/app/package-lock.json
volumes:
mongodata:

View File

@ -12,10 +12,11 @@ WORKDIR /usr/src/app
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
# Install app dependencies
RUN npm install
RUN npm ci
# Expose ports.
# - 3423: Fyipe Helm Chart Server

View File

@ -13,10 +13,11 @@ WORKDIR /usr/src/app
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
# Install app dependencies
RUN npm install
RUN npm ci
# Expose ports.
# - 1444: Fyipe Home

View File

@ -13,10 +13,11 @@ WORKDIR /usr/src/app
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
# Install app dependencies
RUN npm install
RUN npm ci
# Expose ports.
# - 3010: Fyipe-http-test-server

View File

@ -13,10 +13,11 @@ WORKDIR /usr/src/app
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
# Install app dependencies
RUN npm install
RUN npm ci
# Expose Debugger port
EXPOSE 9229

View File

@ -13,10 +13,11 @@ WORKDIR /usr/src/app
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
# Install app dependencies
RUN npm install
RUN npm ci
# Expose ports.
# - 3004: Fyipe-licensing

View File

@ -33,9 +33,10 @@ RUN cd /usr/src/app
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
RUN npm install
RUN npm ci
# Expose ports.
# - 3008: probe

View File

@ -12,10 +12,11 @@ WORKDIR /usr/src/app
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
# Install app dependencies
RUN npm install
RUN npm ci
# Expose ports.
# - 3009: Fyipe:script-runner

View File

@ -13,10 +13,11 @@ WORKDIR /usr/src/app
# Copy package.json files
COPY ./package.json /usr/src/app/package.json
COPY ./package-lock.json /usr/src/app/package-lock.json
# Install app dependencies
RUN npm install
RUN npm ci
# Expose ports.
# - 3006: HTTP Fyipe Status Page