Dockerfile variables added
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
FROM node:17 AS ANGULAR_BUILD
|
FROM node:17 AS ANGULAR_BUILD
|
||||||
|
ARG MODE
|
||||||
RUN npm install -g npm@8.4.0
|
RUN npm install -g npm@8.4.0
|
||||||
RUN npm install -g @angular/cli
|
RUN npm install -g @angular/cli
|
||||||
COPY ui /ui
|
COPY ui /ui
|
||||||
WORKDIR ui
|
WORKDIR ui
|
||||||
RUN npm install && ng build --configuration=production
|
RUN npm install && ng build --configuration=${MODE}
|
||||||
|
|
||||||
|
|
||||||
FROM golang:alpine AS GO_BUILD
|
FROM golang:alpine AS GO_BUILD
|
||||||
|
|||||||
Reference in New Issue
Block a user