Open tbeckenhauer opened 3 years ago
@miku86 FYI. This was mainly an experiment for me to learn how to mirror users and map the directories to try to make things as streamlined as possible.
You might also add the neuronal network extractor_2.h5
file to the container. So it does not download 162MB every time you run it. The web server hosting it is not as fast as GitHub oder Docker Hub would be.
Also I would retain the Dockerfile free from hardcoded user ids. These are depend to the Docker host and can be simply applied at runtime.
I created another Dockerfile here: https://gist.github.com/stackcoder/584ec03d63163eb9d550df7ac8758ef7
@stackcoder Excellent point about the neuronal network file. Ill update it.
Also, Those user IDs will get changed when you run the start script. They are just placeholders for the build process. They ultimately get replaced with your normal users IDs so any files created are accessible by your user account.
It has a few additional helper scripts.