Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
FROM node:14.21.3
FROM node:16.16-alpine

ENV HOME /app
ENV BITGO_ENV test

RUN apt-get update && apt-get -y upgrade
RUN apt-get -y install build-essential

RUN mkdir ${HOME}
RUN apk update
RUN apk upgrade

WORKDIR ${HOME}

COPY ./package.json ./yarn.lock ./

RUN yarn install --production
Expand Down
62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
"name": "coinhub",
"version": "0.2.4",
"description": "BitGo proxy for peatio.tech",
"homepage": "https://github.com/rubykube/coinhub",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/rubykube/coinhub.git"
},
"author": {
"name": "Ali Shanaakh",
"email": "ashanaakh@heliostech.fr"
},
"license": "LGPL-3.0",
"bugs": {
"url": "https://github.com/rubykube/coinhub/issues"
},
"dependencies": {
"argparse": "^2.0.1",
"bitgo": "^18.0.1",
"bitgo-utxo-lib": "^1.8.0",
"bluebird": "^3.7.2",
"express": "^4.18.2",
"fs": "^0.0.1-security",
"http-proxy": "^1.18.1",
"morgan": "^1.10.0",
"path": "^0.12.7",
"url": "^0.11.0"
}
"name": "coinhub",
"version": "0.2.4",
"description": "BitGo proxy for peatio.tech",
"homepage": "https://github.com/rubykube/coinhub",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/rubykube/coinhub.git"
},
"author": {
"name": "Ali Shanaakh",
"email": "ashanaakh@heliostech.fr"
},
"license": "LGPL-3.0",
"bugs": {
"url": "https://github.com/rubykube/coinhub/issues"
},
"dependencies": {
"@bitgo/utxo-lib": "9.2.0",
"argparse": "^2.0.1",
"bitgo": "^18.0.1",
"bluebird": "^3.7.2",
"express": "^4.18.2",
"fs": "^0.0.1-security",
"http-proxy": "^1.18.1",
"morgan": "^1.10.0",
"path": "^0.12.7",
"url": "^0.11.0"
}
}
2 changes: 1 addition & 1 deletion src/common.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const bitcoin = require('bitgo-utxo-lib');
const bitcoin = require('@bitgo/utxo-lib');
const _ = require('lodash');

exports.Environments = {
Expand Down
Loading