

JetBrains.Dockerfile) generated by IntelliJ which my default uses a user called `node` when building the docker image.

Here is my Dockerfile: FROM node:latest RUN mkdir -p /usr/src/app WORKDIR /usr/src/app.

done Attaching to app app /bin/sh: 1: npm,: not found app exited with code 127. I followed these tutorial, but on docker-compose up Im getting always these error: Creating app. Access the MySQL database via a NodeJS client using ( db) as the hostname (this is automatically loaded. Im new to docker and trying to create a container for node apps. All you need to do is Remove the FROM mysql:latest line from your Dockerfile. I did some investigation and found that this was caused by the auto-generated Dockerfile(i.e. You shouldnt need the mysql image in your Dockerfile at all ideally your app container ( essblockexplorer) accesses the db container ( db) via a NodeJS client. So, I restarted the rvice and that resolved the issue. ' returned a non-zero code: 243 - When building Docker Container Image using Node Remote Interpreter ERROR: Service web-svc failed to build: The command /bin/sh -c yarn returned a non-zero code: 1 I recently updated my Ubuntu Linux system, and figured that might be the cause. However, when I try and run the `Run` Configuration, I get the errorĮrror running 'index.js': Problem during building project image: The command '/bin/sh -c npm install. I am trying to use the Node Remote Interpreter to debug a Node app in a docker container using the Docker option i.e.
