forked from CounterpartyXCP/counterwallet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed dockerfile to build bitcoinjs-lib (new dependency)
- Loading branch information
1 parent
2ee8747
commit 3d21f1a
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,8 +80,9 @@ RUN git rev-parse HEAD | |
RUN npm -g install [email protected] | ||
RUN npm config set strict-ssl false | ||
ENV PHANTOMJS_CDNURL="http://cnpmjs.org/downloads" | ||
RUN npm install -g bower grunt mocha-phantomjs | ||
RUN npm install -g bower grunt mocha-phantomjs browserify | ||
RUN cd src; bower --allow-root --config.interactive=false update; cd .. | ||
RUN cd src/vendors/bitcoinjs-lib; browserify --standalone bitcoinjs src/index.js | uglifyjs -c --mangle reserved=['BigInteger','ECPair','Point'] -o bitcoinjs.min.js; cd ../../../ | ||
RUN npm update | ||
RUN grunt build | ||
RUN cp -a /counterwallet/counterwallet.conf.json.example /counterwallet/counterwallet.conf.json | ||
|
@@ -92,7 +93,7 @@ EXPOSE 80 443 | |
# forward nginx request and error logs to docker log collector | ||
RUN ln -sf /dev/stdout /var/log/nginx/access.log \ | ||
&& ln -sf /dev/stderr /var/log/nginx/error.log | ||
|
||
# REMOVE THIS LINE LATER | ||
RUN apt-get update && apt-get -y install gettext-base | ||
|
||
|