Skip to content

Conversation

@Polpetta
Copy link

@Polpetta Polpetta commented Oct 20, 2021

  • Fix little bugs regarding the password read and used viper instead
  • createFile will automatically create parents folder too now
  • The server won't kill itself when fails to scrape something
  • Expose the right port, set a default working dir and moved in all the
    necessary files in order to make a minimal working image
  • Docker container will be built without kindle and podcast integrations

You can try to build & play with the image with the following commands:
docker build -t test/test . && docker run --rm -p8993:8993 -ePASSWORD=supersecurepassword test/test
I've used multi-stage docker build so that the final image is still slim!

I used viper instead of your library since this way you can either set the password via environment variable or via .env file. viper will perform transparently the variable override so it will give more flexibility to the server while keeping the codebase simple!

I hope this helps the project somehow 💪

* Fix little bugs regarding the password read and used viper instead
* createFile will automatically create parents folder too now
* The server won't kill itself when fails to scrape something
* Expose the right port, set a default working dir and moved in all the
necessary files in order to make a minimal working image
* Docker container will be built without kindle and podcast integrations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant