Public Repository

Last pushed: 3 years ago
Short Description
Full Description

Make sure u have enough memory on ur machine. OR u wil get a "Killed" in docker.

Before build, create a <your path>/src dir which contains two files: package.json and index.js.

And in Dockerfile, COPY ./src /src # {Is it the /src in Docker? I'm not sure}

Using nodejs-legacy which will make a link to the right '/bin/nodejs'.

RUN cp /src; ls -l; npm install;

CMD ["node","/src/index.js"] # copy your code to /src, it is not a good path. You may change it.

Docker Pull Command