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