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

This commit is contained in:
Trenton Holmes committed 2022-04-25 11:32:52 -07:00
1 parent b0790d7010
commit 6c70db31bd
14 files changed
+886 -151

No files matched your search

+13
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