Merge pull request #185 from paperless-ngx/fix-build-prod-warning

Fix build --prod depreciated warning
This commit is contained in:
Quinn Casey 2022-02-28 14:38:05 -08:00 committed by GitHub
commit 0772231ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ COPY . /src
WORKDIR /src/src-ui WORKDIR /src/src-ui
RUN npm install RUN npm install
RUN ./node_modules/.bin/ng build --prod RUN ./node_modules/.bin/ng build --configuration production
FROM ubuntu:20.04 AS jbig2enc FROM ubuntu:20.04 AS jbig2enc

View 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 .. code:: shell-session
npm install . 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: 8. Apply migrations and create a superuser for your dev instance: