How do I use a VS Code for hosting an app similar to how Jupyterlab can host an app in development here: https://docs.dominodatalab.com/en/5.3/user_guide/2c01ae/run-multiple-applications-in-a-workspace/#_use_jupyter_server_proxy
You can deploy an app within a VS Code workspace in Domino, but you'll need to do a little modifying to find the app path.
Here's an example:
# Configure Dash to recognize the URL of the container
port = 8054
runurl = os.environ["VSCODE_PROXY_URI"].format(port = port)
path_prefix = runurl.replace(<DOMINO INSTANCE URL>, "") + "/"
app = dash.Dash(__name__,
routes_pathname_prefix = "/",
requests_pathname_prefix = path_prefix,
suppress_callback_exceptions = True,
"content": "width=device-width, initial-scale=1, maximum-scale=1"}])
Deploying the dev app
# Deploy app
if __name__ == "__main__":
app.run_server(port = 8054, host = "0.0.0.0", debug = False)