Myster-Tee / TinfoilWebServer

Install your packages from your own server
GNU General Public License v3.0
124 stars 26 forks source link

Added functional Dockerfile and some instructions #37

Open danifunker opened 1 week ago

danifunker commented 1 week ago

I tried the other Dockerfile PR and it was unable to work.

In my environment, I needed to allow the container to run as root (this is no longer the default in .NET 8) .

The container is also currently published to https://hub.docker.com/layers/danifunker/tinfoilwebserver/latest/images/sha256-1ae753fd5a58ccd66cf23d14df2262dceb36238fc863fa4c95acefdc1b1b447d?context=repo

I've also added a brief how-to execute as a readme, in case someone else wants to run.

Be aware though, I found an issue with the blacklist, where it was adding an IP in the docker network range as part of the blacklist.txt when it was running as a container. I had to disable the blacklist feature in my environment.