Comments (5)
@noinput the build works flawlessly ;-) the issue is how the docker container is spun up afterwards. the docker-compose file would need fixing.
the docker-compose file seems to have been written with local development in mind.
the process is the following:
-
the image gets build - during the build, the keypair.json is generated and stored in the image (
/app/src/keypair.json)
-
a container is created from the image and uses the hosts app directory to overwrite the images app directory via a bind mount (https://github.com/gladiusio/gladius-node-client/blob/master/docker-compose.yml#L16)
-
the application fails because there is no keypair.json available.
for a quick test, the easiest approach is to remove the bind mount from the docker-compose file (delete line 16) and run the docker-compose command again.
from gladius-archive-node.
The problem is in the docker-compose file.
During the image build the Dockerfile creates the keypair.json but the docker-compose overwrites the app directory with the hosts app dir where we do not have a keypair.json
https://github.com/gladiusio/gladius-node-client/blob/master/docker-compose.yml#L16
Either remove the host volume mount or execute npm run setup
during container start
from gladius-archive-node.
can you post the error message or a more detailed description of the issue ? I think the best approach is that you create a new issue and we discuss the details there :-)
from gladius-archive-node.
I got the same error on a fresh install, nothing in the build logs. is there a way to build this with debug output that would help? @sebastianhutter
from gladius-archive-node.
That resolved my issue, thanks!
from gladius-archive-node.
Related Issues (10)
- Keypair.json HOT 3
- Please use a browser that supports web3 HOT 1
- stuck at step 4 HOT 2
- Localhost:3000 failed to compile HOT 1
- Step 4 HOT 2
- No info on "Get pool information" HOT 3
- Looks like you need to unlock your wallet HOT 7
- Unhandled rejection Error - bluebird.js HOT 2
- pool listing HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gladius-archive-node.