I am asking here because Iβm really stuck. So I am self hosting an instance of AppWrite on my Linode, following this β> ( https://medium.com/@stnguyen90/how-to-run-appwrite-behind-nginx-19348ed34243 ), I have an AppWrite reverse proxy at api.mydomain.com . I have my flutter build/web files uploaded directly to my server as I donβt want to run flutter/dart on my instance but rather on my machine/laptop. How can I use nginx proxy manager to run my flutter app on web for mydomain.com. ? How do I dockerize the build files (index.html) for flutter web, or can this only be done by creating a Dockerfile and building the full web project?
Honestly, it's probably better to use some static hosting provider to serve your front end because they have a CDN and maybe edge deployments.
If you really want to run your front end on your server, you can dockerize it using any web server. I like serve.
Here's a tutorial using python: https://blog.logrocket.com/containerizing-flutter-web-apps-with-docker/
Here's another using nginx: https://hasnainm.hashnode.dev/flutter-web-app-to-a-docker-container
Thank you Steven! I will definitely check those out. Iβm still learning, so I really appreciate it!
I have nothing else to add, feel free to close π
[SOLVED] Dockerize Flutter Web App. (NPM).
FYI, you can also update the post title to prefix it with [SOLVED]
Recommended threads
- Function executions not getting logged b...
Hello, I have just upgraded on a self-hosted 1.8.1 to 1.9.0 and I have a strange bug where my functions are no longer showing executions in the console, howeve...
- Appwrite 1.9 Local Console Login Issue A...
I've installed Appwrite 1.9 locally through the web wizard. When I try to log in to the console, I get the following. Any suggestion?
- > [Bug] Infinite loading on Auth /securi...
Hello everyone! π I need some help with an issue I'm facing after a recent upgrade. **Context:** I just upgraded my Appwrite instance from version **1.8.1**...