diff --git a/docs/tutorials/packaging.md b/docs/tutorials/packaging.md index 22ddb55bc..323f41b4b 100644 --- a/docs/tutorials/packaging.md +++ b/docs/tutorials/packaging.md @@ -83,7 +83,7 @@ FROM cloudron/base:0.9.0 ADD server.js /app/code/server.js -CMD [ "/usr/local/node-4.2.1/bin/node", "/app/code/server.js" ] +CMD [ "/usr/local/node-4.4.7/bin/node", "/app/code/server.js" ] ``` The `FROM` command specifies that we want to start off with Cloudron's [base image](/references/baseimage.html). @@ -94,12 +94,12 @@ The `ADD` command copies the source code of the app into the directory `/app/cod about the `/app/code` directory and it is merely a convention we use to store the application code. The `CMD` command specifies how to run the server. The base image already contains many different versions of -node.js. We use Node 4.2.1 here. +node.js. We use Node 4.4.7 here. This Dockerfile can be built and run locally as: ``` docker build -t tutorial . -docker run -p 8000:8000 -ti tutorial +docker run -p 8000:8000 -t tutorial ``` ## Manifest