You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello ! So happy to finally see a web version that we can self-host. Thanks a lot 🙏
One thing that seems particularly weird though is the usage of a Makefile to build the project and then copy the dist result to the Dockerfile. A better way to do this would be to use multi-stage builds to first build the project with the dist folder and then copy it over to the final image.
This would be especially useful since it means we wouldn't have to install pnpm or anything else on the host machine, and it would also be useful when using tools like Coolify, where we can simply supply the Dockerfile to use and everything works out of the box. It would also make it easier to manage env variables that we want to pass during the build process, instead of relying only on a .env file.
The text was updated successfully, but these errors were encountered:
Hello ! So happy to finally see a web version that we can self-host. Thanks a lot 🙏
One thing that seems particularly weird though is the usage of a Makefile to build the project and then copy the dist result to the Dockerfile. A better way to do this would be to use multi-stage builds to first build the project with the dist folder and then copy it over to the final image.
This would be especially useful since it means we wouldn't have to install
pnpm
or anything else on the host machine, and it would also be useful when using tools like Coolify, where we can simply supply the Dockerfile to use and everything works out of the box. It would also make it easier to manage env variables that we want to pass during the build process, instead of relying only on a.env
file.The text was updated successfully, but these errors were encountered: