Take into account that node_modules moves to root

This commit is contained in:
Arik Fraimovich
2016-06-06 09:24:13 +03:00
parent fcc656e04e
commit df1e72ca01
2 changed files with 2 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ RUN pip install -r requirements_all_ds.txt && \
RUN curl https://deb.nodesource.com/setup_4.x | bash - && \
apt-get install -y nodejs && \
sudo -u redash -H make deps && \
rm -rf rd_ui/node_modules /home/redash/.npm /home/redash/.cache && \
rm -rf node_modules rd_ui/node_modules /home/redash/.npm /home/redash/.cache && \
apt-get purge -y nodejs && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

View File

@@ -14,6 +14,7 @@ dependencies:
- pip install pymongo==3.2.1
- if [ "$CIRCLE_BRANCH" = "master" ]; then make deps; fi
cache_directories:
- node_modules/
- rd_ui/node_modules/
- rd_ui/app/bower_components/
test: