aboutsummaryrefslogblamecommitdiffstats
path: root/packages/testnet-faucets/Dockerfile
blob: 198087ba6ba2c8744bc15bc4fa2d71bb3aaf4ded (plain) (tree)
1
2
3
4
5
6
7
8
9



            

                                                                                            
                                                                           
                                                                                         
                 







                          
                                     
FROM node

WORKDIR /src

# Ledger Provider (in the Subproviders package) requires node-hid at dependency install time
# which compiles and expects certain USB developer library packages to be present
RUN apt-get -qq update && apt-get install -y libhidapi-dev libusb-1.0-0-dev
# Our fork of ledgerco disables requiring node-hid at run time if CIRCLECI is set to true
ENV CIRCLECI=true
COPY package.json .
RUN npm i
RUN npm install forever -g

COPY . .

EXPOSE 3000

CMD ["forever", "./server/server.js"]