Connecting NodeJS/Express to Application Container
Summary
Unable to provision application container with my application files. The command "npm start" does not workContent
Hi there, I am new to Oracle Application container. I need to upload my application (a website I built using express/nodeJS) to the cloud, but I can't get pass the instance provisioning stage. I use Express application generator (https://expressjs.com/en/starter/generator.html) for my file directory. On localhost, I start my application with "npm start", which runs a file called "www" in the "bin" folder (in the image I attached). This www file is also where I run server-related code, such as server.listen(port). The application works on my local ports, but does not work when I try to deploy it to the application container online.
Tagged:
0