From: Quinn Casey Date: Mon, 28 Feb 2022 20:39:28 +0000 (-0800) Subject: Fix build --prod depreciated warning X-Git-Tag: ngx-1.6.0-rc1~25^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F185%2Fhead;p=thirdparty%2Fpaperless-ngx.git Fix build --prod depreciated warning --- diff --git a/Dockerfile b/Dockerfile index 267ced6c70..da07e9e139 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 012defabaa..d0a5ff241a 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: