Closed hopewise closed 6 years ago
Hm the Dockerfile is a relic from earlier times when there was no pre-built binary packages for node-or-tools. We now let Travis compile and then publish pre-built packages via node-pre-gyp and npm.
The invalid ELF header message indicates something is wrong with the binary we download. Check
file /usr/local/src/app/lib/binding/node_or_tools.node
You could also try building from source by adding --build-from-source
to the npm install
command.
Thanks, but what's the easiest way to deploy the app to AWS? can you please add some steps to do so in the readme file?
Project-specific Dockerfile (Ubuntu 16.04 LTS base image) and then installing node-or-tools via npm.
Either compile from source or use the pre-built binaries through npm.
Deploying to AWS is outside the scope of this project.
Thanks, I will try with Ubuntu 16.04 LTS
I've tried to build the Dockerfile as a step to deploy a testing app to AWS EC2, but I got this error:
Also, I tried to run bash in a container of the resulted image:
but it seems that npm/node are not installed? :