CI/CD Adjustments 2

CI/CD Adjustments 2
pull/696/head
Shahana Farooqui 3 years ago
parent 91caee4c83
commit 2e525caf89

@ -8,7 +8,7 @@ COPY package.json /RTL/package.json
COPY package-lock.json /RTL/package-lock.json
# Install dependencies
RUN npm install --production
RUN NODE_ENV=production npm install
COPY . /RTL

@ -1,4 +1,4 @@
FROM node:14-stretch-slim AS builder
FROM node:14-alpine AS builder
ADD https://github.com/krallin/tini/releases/download/v0.18.0/tini-static-armel /tini
ADD https://github.com/krallin/tini/releases/download/v0.18.0/tini-static-armel.asc /tini.asc
@ -15,11 +15,11 @@ COPY package.json /RTL/package.json
COPY package-lock.json /RTL/package-lock.json
# Install dependencies
RUN npm install --production
RUN NODE_ENV=production npm install
COPY . /RTL
FROM arm32v7/node:14-stretch-slim
FROM arm32v7/node:14-alpine
WORKDIR /RTL

@ -11,7 +11,7 @@ COPY package.json /RTL/package.json
COPY package-lock.json /RTL/package-lock.json
# Install dependencies
RUN npm install --production
RUN NODE_ENV=production npm install
COPY . /RTL

Loading…
Cancel
Save