sql api was unable to find pg module
Switched to yarn to install deps in flat hierarchy instead of npms nested
This commit is contained in:
parent
65e9a7b253
commit
b106b301c9
@ -162,16 +162,14 @@ ADD ./cartodb_pgsql.sh /tmp/cartodb_pgsql.sh
|
||||
RUN git clone git://github.com/CartoDB/CartoDB-SQL-API.git && \
|
||||
cd CartoDB-SQL-API && \
|
||||
git checkout $SQLAPI_VERSION && \
|
||||
npm install && \
|
||||
rm -r /tmp/npm-* /root/.npm
|
||||
npm install -g yarn && \
|
||||
yarn install
|
||||
|
||||
# Install Windshaft
|
||||
RUN git clone git://github.com/CartoDB/Windshaft-cartodb.git && \
|
||||
cd Windshaft-cartodb && \
|
||||
git checkout $WINDSHAFT_VERSION && \
|
||||
npm install -g yarn && \
|
||||
yarn install && \
|
||||
#rm -r /tmp/npm-* /root/.npm && \
|
||||
mkdir logs
|
||||
|
||||
# Install CartoDB
|
||||
|
Loading…
Reference in New Issue
Block a user