From 3067bf5eaf8e08e3e190fcb79d996a833374718f Mon Sep 17 00:00:00 2001 From: RoyUP9 <87927115+RoyUP9@users.noreply.github.com> Date: Mon, 24 Jan 2022 18:11:45 +0200 Subject: [PATCH] Fixed ui split (#690) --- Dockerfile | 2 +- ui/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9be281430..1a9485057 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY ui/package-lock.json . RUN npm i COPY ui . RUN npm run build - +RUN npm run build-ent FROM golang:1.16-alpine AS builder # Set necessary environment variables needed for our image. diff --git a/ui/package.json b/ui/package.json index 73f2aae7e..84730a74d 100644 --- a/ui/package.json +++ b/ui/package.json @@ -49,7 +49,8 @@ "scripts": { "start": "craco start", "start-ent": "./node_modules/.bin/env-cmd -f .env.enterprise craco start", - "build": "./node_modules/.bin/env-cmd -f .env.basic craco build & BUILD_PATH='./build-ent' ./node_modules/.bin/env-cmd -f .env.enterprise craco build", + "build": "./node_modules/.bin/env-cmd -f .env.basic craco build", + "build-ent": "BUILD_PATH='./build-ent' ./node_modules/.bin/env-cmd -f .env.enterprise craco build", "test": "craco test", "eject": "craco eject" },