![]() For completeness here is the default JetBrains.Dockerfile that is generated by IntelliJĬOPY package.json /tmp/project_modules/package.jsonĬOPY start.sh /tmp/project_modules/start. ![]() JetBrains.Dockerfile) generated by IntelliJ which my default uses a user called `node` when building the docker image. But when I type just composer it is properly displaying the information I guess the problem is with the command: RUN composer install. bin/sh: 1: composer: not found The command /bin/sh -c composer install returned a non-zero code: 127. I did some investigation and found that this was caused by the auto-generated Dockerfile(i.e. But when i run the build command it says: docker build -t lar-app. The command '/bin/sh -c npm install' returned a non-zero code: 1 Ask Question Asked 4 years, 11 months ago Modified 1 year, 1 month ago Viewed 35k times 7 I am new to docker and for my learning purpose I followed the official nodejs docker instructons and followed the instructions but it keeps throwing error on the same command. ' returned a non-zero code: 243 - When building Docker Container Image using Node Remote Interpreter 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 tried restarting docker, cleaning up all docker images, installing apt-transport-https, but nothing worked. ![]() docker-compose up -d -build Building hello-world Step 1/8 : FROM. The command /bin/sh -c apt-get update returned a non-zero code: 100 rootsbd-docker:/ubuntu I am running this on Ubuntu 14.04.4. I am trying to use the Node Remote Interpreter to debug a Node app in a docker container using the Docker option i.e. We will use npm to install Create React App command line interface (CLI) globally. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |