From a679a1966a31d5aea2591058d5458f975b1919f4 Mon Sep 17 00:00:00 2001 From: Quinn Casey Date: Mon, 28 Feb 2022 12:39:28 -0800 Subject: [PATCH] Fix build --prod depreciated warning --- Dockerfile | 2 +- docs/extending.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 267ced6c7..da07e9e13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ COPY . /src WORKDIR /src/src-ui RUN npm install -RUN ./node_modules/.bin/ng build --prod +RUN ./node_modules/.bin/ng build --configuration production FROM ubuntu:20.04 AS jbig2enc diff --git a/docs/extending.rst b/docs/extending.rst index 012defaba..d0a5ff241 100644 --- a/docs/extending.rst +++ b/docs/extending.rst @@ -65,7 +65,7 @@ To do the setup you need to perform the steps from the following chapters in a c .. code:: shell-session npm install . - ./node_modules/.bin/ng build --prod + ./node_modules/.bin/ng build --configuration production 8. Apply migrations and create a superuser for your dev instance: