How to deploy a web server and a Discord bot at the same time using Dart?

I want to deploy a web server programmed in Dart and a Discord bot in one web service.
(Using two web services is not possible as I would like to avoid billing as much as possible.)
The image would be something like launching two Dart packages respectively, as in the image below.

I don’t know how I can achieve that.
Any advice to make it happen is welcome.
Service ID is “srv-cgtp4b2ut4mcfrmov6l0”.

Since I am using google translate, sentences etc… may be strange. sorry.

Was self resolved.

I succeeded by using a Dockerfile and running it in the background with ENTRYPOINT.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.