mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
add lock file.
This commit is contained in:
parent
0259543ff2
commit
b463d2a198
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user