-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker to only serve the app and download images without using S3? #60
Comments
Not sure if it will help you, but I'm also playing around with this use-case - user can select an image and get the result. However, processing it only on the frontend. Check it if it works for you: https://github.com/tsibg/react-background-remover React is easy to build into static files to be hosted, so I decided to not complicate it with Docker, as I will not need Backend or server-processing for my exact project. |
Love the idea, that's great 🔥! |
@tsibg nice! |
I believe someone from the imgly team or repository maintainers would be able to answer you more accurately. P.s. Just out of curiosity: I just scrolled around the repo code and it seems like they are using onnxruntime-web for Web, and other npm package for Node. So, you could try with onnxruntime-react-native ;) Check packages/web/src/onnx.ts. |
Indeed I should ! Thanks man |
@maxime1992 You should be able to build a docker image and serve the assets from within the docker image easily. You have to copy the assets locally to the public directory and serve them locally: https://github.com/imgly/background-removal-js/tree/main/packages/web#custom-asset-serving |
Hello,
has anybody created a docker container that'd let us spawn a container that'd serve the frontend in a very basic way and let us upload images then download them through the interface without using S3 in between? Just on disk or in memory and as soon as it's downloaded the image would be removed from the server?
The text was updated successfully, but these errors were encountered: