Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix build --prod depreciated warning

Quinn Caseya679a1966a31
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: