]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix build --prod depreciated warning 185/head
authorQuinn Casey <quinn@quinncasey.com>
Mon, 28 Feb 2022 20:39:28 +0000 (12:39 -0800)
committerQuinn Casey <quinn@quinncasey.com>
Mon, 28 Feb 2022 20:39:28 +0000 (12:39 -0800)
Dockerfile
docs/extending.rst

index 267ced6c7025e8038cd2e3a6a123287e4a4b0a99..da07e9e13927f00ccbdc92ccde5d1808b855646d 100644 (file)
@@ -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
index 012defabaa20e605156a0e0f7b4e59e34f46e849..d0a5ff241a31e57ed5986ec5534cad01868c98cd 100644 (file)
@@ -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: