Skip to content

Commit

Permalink
Install build tools in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
uwezukwechibuzor committed Oct 2, 2023
1 parent 2e19a86 commit 27d81ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ FROM node:16.2.0-alpine
RUN mkdir -p /usr/app/
WORKDIR /usr/app

#copy fro to
# Copy your project files to the container
COPY ./ ./

RUN npm install --force
# Install build tools and Python
RUN apk add --no-cache make gcc g++ python2

# Install Node.js dependencies
RUN npm install --force
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ services:
restart: unless-stopped
environment:
MONGOOSE_URL: mongodb://admin:12345@db:27017
COSMOSHUB_REST_API: '[{"address": "http://xx.xx.xx.xx:1317"}, {"address": "https://xxxxxxx.com:443"}, {"address": "https://api-xxxxxx.network"}]'
COSMOSHUB_RPC: '[{"address": "http://xx.xx.xx.xx:26657"}, {"address": "https://xxxx.org"}, {"address": "https://rpc.xxxxxxxx.io"}]'
COSMOSHUB_REST_API: '[{"address": "http://xx.xx.xx.xx:1317"}, {"address": "https://xxxx.top"}, {"address": "https://api-xxxxxx.network"}]'
COSMOSHUB_RPC: '[{"address": "http://xx.xx.xx.xx:26657"}, {"address": "https://xxxxx.org"}, {"address": "https://rpc.xxxxxxxx.io"}]'
BITCOIN_REST_API: '[{"address": "https://chain.api.btc.com"}]'
PORT: 5001
REDIS_HOST: redis
Expand Down

0 comments on commit 27d81ca

Please sign in to comment.