Dockerfile variables added

This commit is contained in:
HuskyTeufel
2022-02-03 14:19:37 +01:00
parent cc34c01fe6
commit cbbd4c745e

View File

@@ -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