-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerfile #19
Comments
A Dockerfile is indeed something that was on my feature list. Could you explain what does not work with your approach? |
make, g++ and git was missing. Now it works! Reading error messages entirely sometimes helps.
|
Alright, thanks! Now we just need to find a way to make adding datasets easy. |
I preferred using the HDT approach and mounted a local folder to /src/data on startup. That allows to reuse the docker image, just select the data folder and final port on startup. You can also put the config.json into that data folder:
|
Current docker file is a good start, but does create a rather large image. FYI, I'm experimenting a little bit, and using node:4-alpine won't work (at least, not when HDT module is required, because the hdt library needs to be build, just including and removing g++/python does not work either because of a missing symbol/library... working on it) |
@barthanssens Alpine doesn't use glibc, but instead musl libc. This makes it smaller, but you might run into build problems if glibc is necessary for some of the libraries. Remember, Alpine was created primarily to support running on small embedded devices. Its not always a good first choice for larger applications. But Docker has now officially embraced it. Regardless, you should be able to "get regular stuff working" |
I've reassigned to @rubensworks, as he created the Dockerfile we currently have. We should probably close this issue and create a new one for the others. |
Closing this issue as the server has a Dockerfile and is available on the Docker hub. The issue about the Docker image size will be continued in #40. |
I have trouble installing the ldf-server due to dependencies. Being not proficient with NodeJS the error reports and dependencies just look unfamiliar when setting up the environment. It would be helpful to have a Dockerfile. My approach does not work fully:
The text was updated successfully, but these errors were encountered: