Incorporates the base image building back into the main repo with multi stage building

This commit is contained in:
Trenton Holmes
2022-04-18 08:18:20 -07:00
parent a14d95f6c6
commit d744be97f4
14 changed files with 886 additions and 151 deletions

View File

@@ -0,0 +1,13 @@
# This Dockerfile compiles the frontend
# Inputs: None
FROM node:16-bullseye-slim AS compile-frontend
COPY . /src
WORKDIR /src/src-ui
RUN set -eux \
&& npm update npm -g \
&& npm ci --no-optional
RUN set -eux \
&& ./node_modules/.bin/ng build --configuration production