DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

k90mirzaei
k90mirzaei

Posted on

Why PM2 can not found builds file on docker container?

I'm working on a nuxtjs project and I'm using docker for deploying it. but In my nodejs app dockerfile when I'm runinng pm2 as CMD I have destination error for build directory,

My node app dockerfile:

FROM node:12.4-alpine
ADD package*.json ./
RUN npm install
RUN npm install -g pm2
ADD
…

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.