Cannot find module for a node js app running in a docker compose environment
问题 I am sorry for my very newbie question, but I am having a terrible day figuring out this error, I have an Express app and I am trying to run it in docker compose. I've used this Dockerfile: FROM mhart/alpine-node RUN mkdir -p /usr/src/app RUN chmod -R 777 /usr/src/app WORKDIR /usr/src/app RUN npm install node-gyp -g RUN npm install nodemon -g ENV NODE_ENV development EXPOSE 3000 And this portion of my docker-compose file: backend: mem_limit: 100m build: context: . dockerfile: dockerfiles/node