0

I'm trying to deploy me web app project via google cloud. By the way, my web app do have to start the redis-server first before npm start. When I run it on my localhost, there are not any problem since I start redis-server via terminal application and nom start via terminal on vscode. But when I try to deploy on google cloud by using Dockerfile, it's starting the redis-server but the nothing with node.

here is my Dockerfile

FROM redis
RUN redis-server 
CMD "npm start

Is there are anyway to run both redis-server and npm start at the same time.

Newbie
  • 15
  • 6

0 Answers0