BaldissaraMatheus / Tasks.md

A self-hosted, Markdown file based task management board
https://hub.docker.com/r/baldissaramatheus/tasks.md
MIT License
737 stars 30 forks source link

Remove nginx and fix BASE_PATH env variable #18

Closed BaldissaraMatheus closed 1 year ago

BaldissaraMatheus commented 1 year ago

Previously the BASE_PATH argument was being set during build time, which wouldn't ever work since docker arguments are defined during run time. Also, there wasn't an easy way to set env variables in nginx config files, so I replaced nginx with Node for serving the static files, since it was already being used for the api.

Also with this PR the final image will be much smaller in size (current image is around 68MB, while the previous one was about 100MB)