Shawn-Shan / fawkes

Fawkes, privacy preserving tool against facial recognition systems. More info at https://sandlab.cs.uchicago.edu/fawkes
https://sandlab.cs.uchicago.edu/fawkes
BSD 3-Clause "New" or "Revised" License
5.22k stars 481 forks source link

Create and Update Dockerfile #143

Open tbeckenhauer opened 3 years ago

tbeckenhauer commented 3 years ago

It has a few additional helper scripts.

tbeckenhauer commented 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.

stackcoder commented 3 years ago

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

tbeckenhauer commented 3 years ago

@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.