Skip to content

Commit

Permalink
Use release version v1.2 of Uwazi; removed patched reindex_elastic.js…
Browse files Browse the repository at this point in the history
… file #17
  • Loading branch information
fititnt committed Oct 13, 2018
1 parent 0459c9c commit 79cf4f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 65 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
git \
libpng-dev

## Download Uwazi
RUN git clone -b 1.1 --single-branch --depth=1 https://github.com/huridocs/uwazi.git /home/node/uwazi/ \
## Download Uwazi v1.2
RUN git clone -b v1.2 --single-branch --depth=1 https://github.com/huridocs/uwazi.git /home/node/uwazi/ \
&& chown node:node -R /home/node/uwazi/ \
&& cd /home/node/uwazi/ \
&& yarn install \
&& yarn production-build

COPY --chown=node:node ./scripts/patch/uwazi/database/reindex_elastic.js /home/node/uwazi/database/reindex_elastic.js

## TODO: move to the start of the Dockerfile (fititnt, 2018-04-16 00:27 BRT)
# Install mongo & mongorestore (this is used only for database initialization, not on runtime)
# So much space need, see 'After this operation, 184 MB of additional disk space will be used.'
Expand Down
61 changes: 0 additions & 61 deletions scripts/patch/uwazi/database/reindex_elastic.js

This file was deleted.

0 comments on commit 79cf4f1

Please sign in to comment.